/* =====================================================================
   PLOTNUA · DISC-016 ABOVE AND BEYOND · six-chapter editorial layer
   (founder approval, 4 Nov 2026)

   The Plot Line chapter markers (as DISC-031 / DISC-008), in a canopy green.
   Instrument Serif and Hanken Grotesk, as site-wide. Terracotta stays with
   the actions. Loaded on this page only; selectors are .lg-* / .ab-* or
   scoped to this page's own existing classes.
   ===================================================================== */
body.pn-id.pn-pd{ --ab-leaf:#9DB88A; --ab-leaf-2:#C3D6B4; --ab-field:#1E231D; --ab-line:#33402F; }

/* ---- chapter opening ------------------------------------------------------ */
body.pn-id.pn-pd .lg-ch-wrap{ padding-top:clamp(72px,9vw,140px); padding-bottom:0; }
body.pn-id.pn-pd main > .lg-ch-wrap:first-child{ padding-top:clamp(48px,6vw,88px); }
body.pn-id.pn-pd .lg-chapter{ display:flex; align-items:center; gap:18px; margin:0; }
body.pn-id.pn-pd .lg-chapter::after{ content:""; flex:1; border-top:1.5px dashed rgba(157,184,138,.55); }
body.pn-id.pn-pd .lg-plot{ flex:0 0 auto; width:62px; height:62px; border:1.5px dashed var(--ab-leaf); display:flex; align-items:flex-end; position:relative; box-sizing:border-box; }
body.pn-id.pn-pd .lg-plot > span{ font-family:var(--p4-serif); font-size:30px; line-height:1; color:var(--p4-ivory); padding:0 0 6px 8px; }
/* a small raised pod in the corner of the plot */
body.pn-id.pn-pd .lg-plot::after{ content:""; position:absolute; right:8px; top:6px; width:16px; height:12px; border-radius:8px 8px 3px 3px; background:rgba(157,184,138,.5); border:1px solid var(--ab-leaf-2); box-shadow:0 8px 0 -6px var(--ab-leaf-2); }
body.pn-id.pn-pd .lg-kicker{ margin:0; font:700 13px/1.2 var(--p4-sans); letter-spacing:.24em; text-transform:uppercase; color:var(--ab-leaf-2); }
body.pn-id.pn-pd .lg-title{ font-family:var(--p4-serif); font-weight:400; font-size:clamp(40px,5.2vw,78px); line-height:1.03; letter-spacing:-.015em; color:var(--p4-ivory); max-width:17ch; margin:24px 0 0; }
body.pn-id.pn-pd .lg-stand{ font-family:var(--p4-sans); font-size:clamp(18px,1.4vw,20.5px); line-height:1.6; color:var(--p4-stone); max-width:52ch; margin:20px 0 0; }
/* the section that follows a chapter opening starts close to it */
body.pn-id.pn-pd .lg-ch-wrap + .article > .article-section:first-child{ padding-top:clamp(32px,4vw,56px); }
body.pn-id.pn-pd .lg-ch-wrap + .imagine-photo{ margin-top:clamp(36px,4vw,56px); }

/* ---- chapter 04: the seven considerations ------------------------------- */
.ab-making{ list-style:none; margin:clamp(32px,3.5vw,48px) 0 0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:0 clamp(22px,2.6vw,40px); counter-reset:mk; }
.ab-making > li{ counter-increment:mk; border-top:1px solid var(--ab-line,#33402F); padding:20px 0 24px; display:flex; flex-direction:column; }
body.pn-id.pn-pd .ab-mk-k{ margin:0; font:700 12.5px/1.3 var(--p4-sans); letter-spacing:.2em; text-transform:uppercase; color:var(--ab-leaf-2); }
body.pn-id.pn-pd .ab-mk-k::before{ content:counter(mk,decimal-leading-zero) "\2002"; color:var(--ab-leaf); }
body.pn-id.pn-pd .ab-mk-t{ margin:10px 0 0; font:400 16px/1.55 var(--p4-sans); color:#E4DED3; flex:1; }
body.pn-id.pn-pd .ab-mk-a{ margin-top:12px; align-self:flex-start; font:600 14.5px/1.3 var(--p4-sans); color:#E8A88A; text-decoration:none; border-bottom:1px solid rgba(207,133,102,.5); padding-bottom:2px; }
body.pn-id.pn-pd .ab-mk-a::after{ content:" \2192"; }
body.pn-id.pn-pd .ab-mk-a:hover, body.pn-id.pn-pd .ab-mk-a:focus-visible{ color:#F2C9B5; }

/* ---- chapter 05: image-led builders ------------------------------------- */
/* the Forest Wild / Plan Eden photographs lead, across the full width */
body.pn-id.pn-pd #who-builds-these .map-set > .map-one.has-photos{ grid-column:1 / -1; padding-bottom:clamp(18px,2vw,28px); margin-bottom:clamp(6px,1vw,12px); border-bottom:1px solid var(--ab-line,#33402F); }
body.pn-id.pn-pd #who-builds-these .has-photos .map-what{ max-width:64ch; }
/* the two photographs sit as an even pair (displayed cropped to one height; the files are unchanged) */
body.pn-id.pn-pd #who-builds-these .sp-grid img{ height:clamp(300px,32vw,480px); object-fit:cover; }
body.pn-id.pn-pd #who-builds-these .map-set > .map-one:not(.has-photos){ border-top:1px solid var(--ab-leaf,#9DB88A); padding-top:16px; }
/* "Further afield": folded, native, closed */
.ab-afield{ margin:clamp(34px,4vw,56px) 0 0; border-top:1px solid var(--p4-line,#4A4B4F); border-bottom:1px solid var(--p4-line,#4A4B4F); }
body.pn-id.pn-pd .ab-afield > summary{ list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:16px; min-height:56px; padding:14px 0; font:700 13px/1.3 var(--p4-sans); letter-spacing:.18em; text-transform:uppercase; color:var(--p4-ivory); }
.ab-afield > summary::-webkit-details-marker{ display:none; }
body.pn-id.pn-pd .ab-afield > summary::after{ content:"+"; font:400 26px/1 var(--p4-serif); color:#CF8566; letter-spacing:0; }
body.pn-id.pn-pd .ab-afield[open] > summary::after{ content:"\2212"; }
body.pn-id.pn-pd .ab-afield > summary:focus-visible{ outline:2px solid #CF8566; outline-offset:4px; }
body.pn-id.pn-pd .ab-afield .map-band.is-afield{ margin-top:6px; }
body.pn-id.pn-pd .ab-afield > .map-set{ padding-bottom:24px; }

/* ---- chapter 06: the closing panel -------------------------------------- */
body.pn-id.pn-pd #your-next-step .lg-chapter{ margin-bottom:clamp(18px,2vw,28px); }
body.pn-id.pn-pd #your-next-step .pn-tr{ margin-bottom:0; padding-bottom:0; border-bottom:0; }

/* ---- tablet --------------------------------------------------------------- */
@media (max-width:1023px){
  .ab-making{ grid-template-columns:1fr 1fr; }
}
/* ---- phones: a phone layout, not a compressed desktop ---------------------- */
@media (max-width:719px){
  body.pn-id.pn-pd .lg-ch-wrap{ padding-top:64px; }
  body.pn-id.pn-pd main > .lg-ch-wrap:first-child{ padding-top:40px; }
  body.pn-id.pn-pd .lg-chapter{ gap:14px; }
  body.pn-id.pn-pd .lg-plot{ width:50px; height:50px; }
  body.pn-id.pn-pd .lg-plot > span{ font-size:22px; padding:0 0 5px 7px; }
  body.pn-id.pn-pd .lg-plot::after{ width:13px; height:10px; right:6px; top:5px; }
  body.pn-id.pn-pd .lg-kicker{ font-size:12px; letter-spacing:.2em; }
  body.pn-id.pn-pd .lg-title{ font-size:clamp(34px,9.4vw,44px); margin-top:18px; }
  body.pn-id.pn-pd .lg-stand{ font-size:17px; margin-top:14px; }
  .ab-making{ grid-template-columns:1fr; }
  .ab-making > li{ padding:16px 0 18px; }
  /* the three supports read side by side: the drawing is the point */
  body.pn-id.pn-pd #dia-three-ways .pn-stands{ grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
  body.pn-id.pn-pd #dia-three-ways .pn-stand h4{ font-size:15px; }
  body.pn-id.pn-pd #dia-three-ways .pn-stand p{ font-size:13.5px; line-height:1.4; }
  /* the two builder photographs side by side, not two screens tall */
  body.pn-id.pn-pd #who-builds-these .sp-grid{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  body.pn-id.pn-pd #who-builds-these .sp-grid img{ width:100%; height:220px; object-fit:cover; }
  /* reading rhythm: shorter on a phone, nothing removed */
  body.pn-id.pn-pd #pn-main .article-section p, body.pn-id.pn-pd #pn-main .practical-item p,
  body.pn-id.pn-pd #pn-main .map-what, body.pn-id.pn-pd #pn-main .faq-a{ line-height:1.62; }
  body.pn-id.pn-pd #pn-main .practical-item{ padding:14px 0; }
  body.pn-id.pn-pd #pn-main .practical-item h3{ margin-bottom:6px; }
  body.pn-id.pn-pd #the-market-stops .pr-state{ padding:14px 16px 16px; }
  body.pn-id.pn-pd #dia-clear-zone svg{ max-width:240px; margin-left:auto; margin-right:auto; display:block; }
  /* the seven considerations and the six uses: a swipeable row of cards on phones (the next card peeks) */
  .ab-making, body.pn-id.pn-pd #what-it-can-become .practical-group{ display:grid; grid-auto-flow:column; grid-template-columns:none; grid-auto-columns:82%;
    gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; -webkit-overflow-scrolling:touch;
    padding:0 0 14px; scrollbar-width:thin; }
  .ab-making > li, body.pn-id.pn-pd #what-it-can-become .practical-item{ scroll-snap-align:start; border:1px solid var(--ab-line,#33402F); border-top:2px solid var(--ab-leaf,#9DB88A);
    border-radius:4px; padding:16px 16px 18px; background:var(--ab-field,#1E231D); }
  body.pn-id.pn-pd #what-it-can-become .practical-item p{ font-size:15.5px; }
  body.pn-id.pn-pd .ab-mk-t{ font-size:15.5px; }
  /* decision */
  body.pn-id.pn-pd #your-next-step .pd-close-card{ padding:28px 20px 30px; }
  body.pn-id.pn-pd #your-next-step .lg-route{ padding:20px 18px; }
  body.pn-id.pn-pd #your-next-step .lg-route-links a{ min-height:46px; padding:8px 0; }
  body.pn-id.pn-pd #your-next-step .lg-route-l{ font-size:36px; }
}
