/* =====================================================================
   PLOTNUA · DISC-021 YOUR HOME ON SCREEN · six-chapter editorial layer
   (founder approval, 4 Nov 2026)

   The Plot Line chapter markers (as DISC-016 / DISC-031), in a warm
   tungsten-light amber. Instrument Serif and Hanken Grotesk, as site-wide.
   Terracotta stays with the actions. Loaded on this page only; selectors
   are .lg-* / .ys-* or scoped to this page's own existing ids.
   ===================================================================== */
body.pn-id.pn-pd{ --ys-amber:#D2AE6E; --ys-amber-2:#E8CF9E; --ys-field:#24211C; --ys-line:#3F382C; }

/* ---- 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(210,174,110,.5); }
body.pn-id.pn-pd .lg-plot{ flex:0 0 auto; width:62px; height:62px; border:1.5px dashed var(--ys-amber); 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 frame, as through a viewfinder, in the corner of the plot */
body.pn-id.pn-pd .lg-plot::after{ content:""; position:absolute; right:7px; top:7px; width:18px; height:12px; border:1.5px solid var(--ys-amber-2); border-radius:2px; background:rgba(210,174,110,.25); }
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(--ys-amber-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:54ch; margin:20px 0 0; }
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 03 uses and chapter 04 journey: shared card language ---------- */
.ys-uses, .ys-steps{ list-style:none; margin:clamp(32px,3.5vw,48px) 0 0; padding:0; display:grid; gap:0 clamp(22px,2.6vw,40px); }
.ys-uses{ grid-template-columns:repeat(4,minmax(0,1fr)); }
.ys-steps{ grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(18px,2vw,28px) clamp(22px,2.6vw,40px); }
.ys-uses > li, .ys-steps > li{ border-top:1px solid var(--ys-amber,#D2AE6E); padding:18px 0 4px; display:flex; flex-direction:column; }
body.pn-id.pn-pd .ys-k{ margin:0; font:700 12.5px/1.3 var(--p4-sans); letter-spacing:.2em; text-transform:uppercase; color:var(--ys-amber-2); }
body.pn-id.pn-pd .ys-n{ font-family:var(--p4-serif); font-size:26px; letter-spacing:0; color:var(--p4-ivory); margin-right:10px; vertical-align:-3px; }
body.pn-id.pn-pd .ys-uses .ys-k{ font-family:var(--p4-serif); font-size:clamp(23px,1.9vw,28px); line-height:1.15; letter-spacing:0; text-transform:none; color:var(--p4-ivory); font-weight:400; }
body.pn-id.pn-pd .ys-t{ margin:10px 0 0; font:400 16px/1.55 var(--p4-sans); color:#E4DED3; flex:1; }
body.pn-id.pn-pd .ys-tag{ margin:12px 0 0; align-self:flex-start; font:700 11px/1 var(--p4-sans); letter-spacing:.16em; text-transform:uppercase; padding:6px 8px; border-radius:2px; border:1px solid var(--ys-line,#3F382C); color:var(--p4-stone); }
body.pn-id.pn-pd .ys-tag.is-established{ color:#C9DDBE; border-color:rgba(157,184,138,.5); }
body.pn-id.pn-pd .ys-tag.is-not-established{ color:#F0C2A9; border-color:rgba(207,133,102,.6); }
body.pn-id.pn-pd .ys-tag.is-varies{ color:var(--ys-amber-2); border-color:rgba(210,174,110,.55); }
body.pn-id.pn-pd .ys-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 .ys-a::after{ content:" \2192"; }
body.pn-id.pn-pd .ys-a:hover, body.pn-id.pn-pd .ys-a:focus-visible{ color:#F2C9B5; }

/* ---- chapter 06: the closing panel -------------------------------------- */
body.pn-id.pn-pd #discover-your-property .lg-chapter{ margin-bottom:clamp(18px,2vw,28px); }
body.pn-id.pn-pd #discover-your-property .pn-tr{ margin-bottom:clamp(30px,3.5vw,48px); border-bottom:0; padding-bottom:0; }
body.pn-id.pn-pd #discover-your-property .pb-independence{ margin:28px 0 0; max-width:60ch; text-align:left; }
body.pn-id.pn-pd #discover-your-property .cs-exits{ justify-content:flex-start; }

/* ---- tablet --------------------------------------------------------------- */
@media (max-width:1023px){
  .ys-uses, .ys-steps{ 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:14px; height:10px; right:6px; top:6px; }
  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; }
  /* the uses, the journey and the four ways a home is found: swipeable rows of cards (the next card peeks) */
  .ys-uses, .ys-steps, body.pn-id.pn-pd #how-it-happens .steps{ 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; padding:0 0 14px; scrollbar-width:thin; }
  .ys-uses > li, .ys-steps > li, body.pn-id.pn-pd #how-it-happens .step{ scroll-snap-align:start; border:1px solid var(--ys-line,#3F382C); border-top:2px solid var(--ys-amber,#D2AE6E);
    border-radius:4px; padding:16px 16px 18px; background:var(--ys-field,#24211C); margin:0; }
  body.pn-id.pn-pd .ys-t{ font-size:15.5px; }
  /* 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 .faq-a, body.pn-id.pn-pd #pn-main .pl-list li{ line-height:1.6; }
  /* decision */
  body.pn-id.pn-pd #discover-your-property .pd-close-card{ padding:28px 20px 30px; }
  body.pn-id.pn-pd #discover-your-property .lg-route{ padding:20px 18px; }
  body.pn-id.pn-pd #discover-your-property .lg-route-links a{ min-height:46px; padding:8px 0; }
  body.pn-id.pn-pd #discover-your-property .lg-route-l{ font-size:36px; }
  body.pn-id.pn-pd #discover-your-property .lg-route-t{ font-size:19.5px; }
  body.pn-id.pn-pd #discover-your-property .pn-tr{ margin-bottom:24px; }
  /* exits: a compact wrapped row rather than four stacked lines */
  body.pn-id.pn-pd #discover-your-property .cs-exits{ flex-direction:row; flex-wrap:wrap; gap:6px 18px; }
  body.pn-id.pn-pd #discover-your-property .cs-exit{ padding:10px 0; }
  body.pn-id.pn-pd #discover-your-property .pb-independence{ margin-top:18px; font-size:15px; }
  /* the money: each case on one compact block */
  body.pn-id.pn-pd #the-money .mn-row{ padding:14px 0; }
  body.pn-id.pn-pd #the-money .mn-figure{ margin-top:4px; }
  body.pn-id.pn-pd #the-money .mn-who{ margin-top:2px; }
}
