/* =====================================================================
   PLOTNUA · DISC-008 LIVING IN THE GARDEN · Phase 2 editorial layer
   (founder approval of the six-chapter direction, 3 Nov 2026)

   "The Plot Line": each chapter opens on a small surveyed plot, a dashed
   square boundary carrying its number, and a dashed boundary rule. A
   restrained sage green is the page's own accent; terracotta stays with
   the site's actions. Instrument Serif and Hanken Grotesk, as site-wide.
   Loaded on this page only. Every selector is .lg-* or scoped to it.
   ===================================================================== */
body.pn-id.pn-pd{ --lg-sage:#8FAF8A; --lg-sage-2:#A9C4A4; --lg-sage-ink:#14261C; --lg-field:#1E2721; --lg-field-line:#33453A; }

/* ---- chapter opening ------------------------------------------------------ */
body.pn-id.pn-pd .lg-chapter{ display:flex; align-items:center; gap:18px; margin:clamp(84px,10vw,150px) 0 0; }
body.pn-id.pn-pd .lg-article > .lg-chapter:first-child{ margin-top:clamp(48px,6vw,88px); }
body.pn-id.pn-pd .lg-chapter::after{ content:""; flex:1; border-top:1.5px dashed rgba(143,175,138,.55); }
.lg-plot{ flex:0 0 auto; width:62px; height:62px; border:1.5px dashed var(--lg-sage,#8FAF8A); display:flex; align-items:flex-end; position:relative; }
.lg-plot > span{ font-family:var(--p4-serif); font-size:30px; line-height:1; color:var(--p4-ivory); padding:0 0 6px 8px; }
.lg-plot::after{ content:""; position:absolute; right:8px; top:8px; width:18px; height:14px; background:rgba(143,175,138,.55); border:1px solid var(--lg-sage-2,#A9C4A4); }
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(--lg-sage-2); }
body.pn-id.pn-pd .lg-title{ font-family:var(--p4-serif); font-weight:400; font-size:clamp(40px,5.4vw,80px); line-height:1.03; letter-spacing:-.015em; color:var(--p4-ivory); max-width:17ch; margin:26px 0 0; text-transform:none; }
body.pn-id.pn-pd .lg-stand{ font-size:clamp(18px,1.4vw,20.5px); line-height:1.6; color:var(--p4-lime); max-width:48ch; margin:22px 0 0; }
/* the moved sections read as parts of their chapter: their own headings one step below the chapter title */
body.pn-id.pn-pd .lg-article > .lg-title + .lg-stand + .article-section,
body.pn-id.pn-pd .lg-article > .lg-title + .article-section{ margin-top:8px; }

/* ---- illustrations (ch01 diagram, ch05 plan) ------------------------------ */
.lg-fig{ margin:clamp(32px,4vw,48px) 0 0; background:var(--lg-field,#1E2721); border:1px solid var(--lg-field-line,#33453A); border-top:2px solid var(--lg-sage,#8FAF8A); padding:clamp(14px,2vw,26px); }
.lg-fig svg{ display:block; width:100%; height:auto; }
.lg-fig .pl, .lg-fig .bd{ fill:none; stroke:#E9E2D6; stroke-width:1.5; stroke-dasharray:8 6; vector-effect:non-scaling-stroke; }
.lg-fig .hs rect, .lg-fig rect.hs{ fill:#3A3D3A; stroke:#E9E2D6; stroke-width:1.4; vector-effect:non-scaling-stroke; }
.lg-fig .hs line{ stroke:#E9E2D6; stroke-width:1.2; vector-effect:non-scaling-stroke; }
.lg-fig .nr, .lg-fig .gh{ fill:rgba(143,175,138,.5); stroke:#E9E2D6; stroke-width:1.5; vector-effect:non-scaling-stroke; }
.lg-fig .nr{ stroke-dasharray:6 5; }
.lg-fig .os{ fill:rgba(143,175,138,.16); stroke:#A9C4A4; stroke-width:1.2; stroke-dasharray:4 4; vector-effect:non-scaling-stroke; }
.lg-fig .walk{ fill:none; stroke:#D8B475; stroke-width:1.6; stroke-dasharray:3 6; vector-effect:non-scaling-stroke; }
.lg-fig .dim{ fill:none; stroke:#CF8566; stroke-width:1.4; vector-effect:non-scaling-stroke; }
.lg-fig text{ font-family:var(--p4-sans); text-anchor:middle; fill:#F2EBE0; }
.lg-fig .rm{ font-size:15px; font-weight:700; letter-spacing:.14em; }
.lg-fig .us{ font-size:13.5px; fill:#C2BDB5; }
.lg-fig .nl{ font-size:21px; font-weight:700; letter-spacing:.16em; fill:#F7F2EA; }
.lg-fig .cap{ font-size:13.5px; font-weight:700; letter-spacing:.14em; fill:#C9D9C5; }
.lg-fig .cap.g{ fill:#A9C4A4; }
.lg-fig .lb{ font-size:15px; font-weight:700; letter-spacing:.12em; }
.lg-fig .lb.sm{ font-size:14px; }
.lg-fig .lb.xs{ font-size:12.5px; font-weight:500; letter-spacing:.02em; }
.lg-fig .lb.muted{ fill:#C2BDB5; text-anchor:start; }
.lg-fig1-m{ display:none !important; }
body.pn-id.pn-pd .lg-cap{ margin:12px 0 0; color:var(--p4-stone); font:500 14px/1.5 var(--p4-sans); }
.lg-key{ display:none; list-style:none; margin:14px 0 4px; padding:0; font:400 15px/1.5 var(--p4-sans); color:#E9E2D6; }
.lg-key li{ padding:8px 0; border-top:1px solid var(--lg-field-line,#33453A); }
.lg-key b{ color:var(--lg-sage-2,#A9C4A4); font-weight:600; }

/* ---- chapter 02: four tiles ------------------------------------------------ */
.lg-four{ list-style:none; padding:0; margin:clamp(28px,3vw,40px) 0 0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(18px,2.4vw,36px); }
.lg-four > li{ border-top:1px solid var(--lg-sage,#8FAF8A); padding-top:18px; }
.lg-four svg{ width:44px; height:44px; display:block; margin:0 0 16px; fill:none; stroke:var(--lg-sage-2,#A9C4A4); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.lg-four svg .dash{ stroke-dasharray:3 3; stroke:#CF8566; }
body.pn-id.pn-pd .lg-four .dq-cat{ display:block; font:700 12.5px/1.2 var(--p4-sans); letter-spacing:.2em; text-transform:uppercase; color:var(--lg-sage-2); margin-bottom:10px; }
body.pn-id.pn-pd .lg-four .dq-fact{ display:block; font-family:var(--p4-serif); font-size:clamp(21px,1.75vw,26px); line-height:1.25; color:var(--p4-ivory); }
body.pn-id.pn-pd .lg-problem{ padding-top:0; border-bottom:0; }

/* ---- chapter 03: the third kind of building -------------------------------- */
body.pn-id.pn-pd .lg-third{ border-left:2px dashed var(--lg-sage); padding:6px 0 6px 22px; margin-top:8px; }
body.pn-id.pn-pd .lg-third-k{ margin:0 0 8px; font:700 12.5px/1.2 var(--p4-sans); letter-spacing:.2em; text-transform:uppercase; color:var(--lg-sage-2); }
body.pn-id.pn-pd .lg-third p:not(.lg-third-k){ font-size:clamp(18px,1.3vw,19.5px); line-height:1.65; color:var(--p4-lime); max-width:62ch; margin:0; }

/* ---- bridge: two quiet links ------------------------------------------------ */
body.pn-id.pn-pd .pn-bridge a{ color:inherit; text-decoration:underline; text-decoration-color:rgba(143,175,138,.6); text-underline-offset:4px; }
body.pn-id.pn-pd .pn-bridge-x{ margin:10px 0 0; font:600 15px/1.4 var(--p4-sans); letter-spacing:.02em; }
body.pn-id.pn-pd .pn-bridge-x a::after{ content:" \2193"; }

/* ---- chapter 05: requirements and guidance, kept apart --------------------- */
.lg-band{ margin:clamp(30px,3.5vw,48px) 0 0; padding:clamp(4px,1vw,10px) 0 0 clamp(16px,2vw,26px); }
.lg-band.is-req{ border-left:3px solid var(--lg-sage,#8FAF8A); }
.lg-band.is-guide{ border-left:3px dashed rgba(216,180,117,.75); }
body.pn-id.pn-pd .lg-band-k{ margin:0; font:700 13px/1.2 var(--p4-sans); letter-spacing:.22em; text-transform:uppercase; color:var(--lg-sage-2); }
body.pn-id.pn-pd .lg-band.is-guide .lg-band-k{ color:#D8B475; }
body.pn-id.pn-pd .lg-band-n{ margin:8px 0 0; font:500 15px/1.55 var(--p4-sans); color:var(--p4-stone); max-width:62ch; }
body.pn-id.pn-pd .lg-band > .article-section:first-of-type{ padding-top:clamp(24px,3vw,40px); }

/* ---- chapter 06: one decision, two routes ---------------------------------- */
body.pn-id.pn-pd .lg-decision .lg-chapter{ margin:clamp(20px,3vw,36px) 0 0; }
body.pn-id.pn-pd .lg-decision .lg-title{ margin-top:22px; }
.lg-routes{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(18px,2.4vw,32px); margin:clamp(28px,3.5vw,44px) 0 0; text-align:left; }
.lg-route{ border:1px solid var(--p4-line,#4A4B4F); padding:clamp(22px,2.6vw,34px); display:flex; flex-direction:column; }
.lg-route.is-b{ border-color:#CF8566; }
body.pn-id.pn-pd .lg-route-l{ margin:0; font-family:var(--p4-serif); font-size:clamp(40px,3.6vw,54px); line-height:1; color:#CF8566; }
body.pn-id.pn-pd .lg-route-k{ margin:16px 0 0; font:700 13px/1.2 var(--p4-sans); letter-spacing:.2em; text-transform:uppercase; color:var(--lg-sage-2); }
body.pn-id.pn-pd .lg-route-t, body.pn-id.pn-pd .lg-route .pb-subhead{ margin:14px 0 0; font-family:var(--p4-serif); font-size:clamp(21px,1.75vw,25px); line-height:1.3; color:var(--p4-ivory); max-width:none; text-align:left; }
body.pn-id.pn-pd .lg-route .pb-headline{ margin:14px 0 0; font:600 17px/1.35 var(--p4-sans); letter-spacing:0; text-transform:none; color:var(--p4-ivory); text-align:left; }
.lg-route-links{ list-style:none; margin:22px 0 0; padding:0; }
.lg-route-links li{ border-top:1px solid var(--p4-line,#4A4B4F); }
.lg-route-links li:last-child{ border-bottom:1px solid var(--p4-line,#4A4B4F); }
body.pn-id.pn-pd .lg-route-links a{ display:flex; justify-content:space-between; align-items:center; min-height:52px; padding:10px 0; color:var(--p4-ivory); font:600 16px/1.35 var(--p4-sans); text-decoration:none; }
body.pn-id.pn-pd .lg-route-links a::after{ content:"\2192"; color:#CF8566; margin-left:14px; }
body.pn-id.pn-pd .lg-route-links a:hover, body.pn-id.pn-pd .lg-route-links a:focus-visible{ color:#F2C9B5; }
body.pn-id.pn-pd .lg-route .gb-choose{ margin:22px 0 0; }
body.pn-id.pn-pd .lg-route .pb-note{ text-align:left; margin-left:0; }
body.pn-id.pn-pd .lg-free{ margin:14px 0 0; font:700 13px/1.3 var(--p4-sans); letter-spacing:.18em; text-transform:uppercase; color:var(--lg-sage-2); }

/* ---- tablet --------------------------------------------------------------- */
@media (max-width:1023px){
  .lg-four{ grid-template-columns:1fr 1fr; }
}
/* ---- phones --------------------------------------------------------------- */
@media (max-width:719px){
  body.pn-id.pn-pd .lg-chapter{ margin-top:72px; gap:14px; }
  .lg-plot{ width:52px; height:52px; }
  .lg-plot > span{ font-size:25px; }
  body.pn-id.pn-pd .lg-kicker{ font-size:12px; letter-spacing:.2em; }
  .lg-four{ grid-template-columns:1fr; gap:22px; }
  .lg-four > li{ display:grid; grid-template-columns:44px 1fr; column-gap:16px; align-items:start; }
  .lg-four svg{ margin:2px 0 0; grid-row:span 2; }
  .lg-fig1-d{ display:none !important; }
  .lg-fig1-m{ display:block !important; }
  .lg-fig .rm{ font-size:17px; } .lg-fig .us{ font-size:15px; } .lg-fig .nl{ font-size:24px; } .lg-fig .cap{ font-size:15px; }
  .lg-plan .lb{ font-size:20px; } .lg-plan .lb.sm{ font-size:18px; }
  .lg-plan .lb.xs, .lg-plan .lb.muted{ display:none; }
  .lg-key{ display:block; }
  .lg-routes{ grid-template-columns:1fr; }
  .lg-band{ padding-left:14px; }
}

/* ---- refinements after the first visual check ------------------------------ */
/* hierarchy: inside a chapter, a moved section's own heading sits one step below the chapter title */
body.pn-id.pn-pd .lg-article .article-section > h2{ font-size:clamp(32px,3.6vw,54px); }
body.pn-id.pn-pd .lg-problem{ margin-top:0; padding-top:clamp(8px,1vw,12px); }
body.pn-id.pn-pd .lg-article > .lg-title + .lg-problem{ margin-top:0; }
body.pn-id.pn-pd .lg-route .pb-headline{ max-width:none; width:auto; }
@media (max-width:719px){
  .lg-plot::after{ width:12px; height:9px; right:6px; top:6px; }
  .lg-plot > span{ font-size:22px; padding:0 0 5px 7px; }
}
@media (max-width:1023px){ .lg-routes{ grid-template-columns:1fr; max-width:640px; margin-left:auto; margin-right:auto; } }
@media (max-width:719px){
  .lg-plan .lb{ font-size:23px; letter-spacing:.03em; }
  .lg-plan .lb.sm{ font-size:22px; }
}
/* bridge links: unobtrusive to look at, full-size to tap */
body.pn-id.pn-pd .pn-bridge-h a, body.pn-id.pn-pd .pn-bridge-x a{ display:inline-flex; align-items:center; min-height:44px; }

/* =====================================================================
   PHASE 3 · visual rhythm (founder approval of the direction, 3 Nov 2026)
   ===================================================================== */
/* long reading sections: heading column left, reading column right (wide screens only) */
@media (min-width:1100px){
  body.pn-id.pn-pd .lg-article .lg-split{ display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); column-gap:clamp(48px,5vw,88px); align-items:start; }
  body.pn-id.pn-pd .lg-article .lg-split > *{ grid-column:2; min-width:0; }
  body.pn-id.pn-pd .lg-article .lg-split > .kicker{ grid-column:1; grid-row:1; }
  body.pn-id.pn-pd .lg-article .lg-split > h2{ grid-column:1; grid-row:2 / span 40; align-self:start; position:sticky; top:110px; margin-top:0; }
  body.pn-id.pn-pd .lg-article .lg-split > .kicker + h2 + *{ margin-top:0; }
  body.pn-id.pn-pd .lg-article .lg-split > p, body.pn-id.pn-pd .lg-article .lg-split > ul{ max-width:62ch; }
  /* wide components keep the full measure */
}

/* the gallery: its own full-width room, with the photography given presence */
body.pn-id.pn-pd .lg-article .pn-sg{ position:relative; background:var(--lg-field); box-shadow:0 0 0 100vmax var(--lg-field); clip-path:inset(0 -100vmax); padding-top:clamp(56px,6vw,96px); padding-bottom:clamp(8px,1vw,16px); margin-top:clamp(64px,8vw,120px); }
body.pn-id.pn-pd .lg-article .pn-sg::before{ content:""; position:absolute; left:0; right:0; top:0; border-top:1.5px dashed rgba(143,175,138,.55); }
body.pn-id.pn-pd .lg-article .pn-sg .pn-sg-h2{ font-size:clamp(44px,5vw,76px); line-height:1.02; letter-spacing:-.015em; }
body.pn-id.pn-pd .lg-article .pn-sg .pn-sg-card{ background:#26302A; }
@media (min-width:1100px){ body.pn-id.pn-pd .lg-article .pn-sg .pn-sg-track{ --sg-card-w:calc((min(100vw, var(--sg-max)) - 2 * var(--sg-pad-x) - 1.4 * var(--sg-gap)) / 2.4); } }
@media (min-width:720px) and (max-width:1099px){ body.pn-id.pn-pd .lg-article .pn-sg .pn-sg-track{ --sg-card-w:calc((100vw - 2 * var(--sg-pad-x) - 1.2 * var(--sg-gap)) / 1.6); } }
@media (min-width:1100px){
  /* kicker and heading share the first cell of the heading column; both stay in view while the column reads */
  body.pn-id.pn-pd .lg-article .lg-split > .kicker{ grid-row:1; align-self:start; position:sticky; top:110px; z-index:1; margin:0; }
  body.pn-id.pn-pd .lg-article .lg-split > h2{ grid-row:1 / span 40; padding-top:34px; top:110px; }
}


/* ---- bridge: the free check, reachable from the top of the page (founder approval, 4 Nov 2026) ---- */
body.pn-id.pn-pd .pn-bridge-go{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px 12px; margin:18px 0 4px; }
body.pn-id.pn-pd .pn-bridge-go a{ display:inline-flex; align-items:center; min-height:46px; padding:0 20px; border-radius:999px;
  border:1px solid var(--lg-sage,#8FAF8A); background:var(--lg-sage,#8FAF8A); color:var(--lg-sage-ink,#14261C);
  font:600 15px/1.2 var(--p4-sans); text-decoration:none; }
body.pn-id.pn-pd .pn-bridge-go a + a{ background:transparent; color:var(--p4-ivory,#F2EBE0); }
body.pn-id.pn-pd .pn-bridge-go a:hover{ filter:brightness(1.06); }
body.pn-id.pn-pd .pn-bridge-go a:focus-visible{ outline:2px solid var(--lg-sage-2,#A9C4A4); outline-offset:3px; }
body.pn-id.pn-pd .pn-bridge-go a::after{ content:"\00a0\2192"; }
