/* =====================================================================
   PLOTNUA · DISC-005 HOME EXCHANGE · six-chapter editorial layer
   (founder approval, 4 Nov 2026)

   The Plot Line chapter markers (as DISC-016 / DISC-021), in a quiet
   sea blue. Instrument Serif and Hanken Grotesk, as site-wide. Terracotta
   stays with the actions. Loaded on this page only; selectors are .lg-* /
   .hx-* or scoped to this page's own ids and existing classes.
   ===================================================================== */
body.pn-id.pn-pd{ --hx-amber:#8FB3C9; --hx-amber-2:#BFD6E4; --hx-field:#1C2328; --hx-line:#33414B; }

/* ---- 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(143,179,201,.5); }
body.pn-id.pn-pd .lg-plot{ flex:0 0 auto; width:62px; height:62px; border:1.5px dashed var(--hx-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 doorway in the corner of the plot */
body.pn-id.pn-pd .lg-plot::after{ content:""; position:absolute; right:8px; top:6px; width:11px; height:16px; border:1.5px solid var(--hx-amber-2); border-radius:6px 6px 1px 1px; background:rgba(143,179,201,.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(--hx-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 #pn-main > .lg-ch-wrap:first-child{ padding-top:clamp(48px,6vw,88px); }
body.pn-id.pn-pd #pn-main .lg-ch-wrap + .article-section{ padding-top:clamp(32px,4vw,56px); }
/* the two photographs, framed inside the article between chapters */
body.pn-id.pn-pd #pn-main .imagine-photo.hx-plate{ height:clamp(300px,46vw,600px); min-height:0; border-radius:4px; margin:clamp(20px,3vw,40px) 0 0; }
body.pn-id.pn-pd #pn-main .imagine-photo.hx-plate::before, body.pn-id.pn-pd #pn-main .imagine-photo.hx-plate::after{ display:none; }
/* chapter 05: the platform note and the Property Check */
body.pn-id.pn-pd .hx-platform > h3{ font-family:var(--p4-serif); font-weight:400; font-size:clamp(24px,2vw,30px); line-height:1.2; color:var(--p4-ivory); margin:0 0 12px; }
body.pn-id.pn-pd .hx-platform .faq-a{ font-size:17px; line-height:1.7; color:var(--p4-lime); max-width:68ch; }
body.pn-id.pn-pd .hx-check{ margin-top:clamp(32px,4vw,48px); border:1px solid var(--hx-line); border-top:2px solid var(--hx-amber); border-radius:4px; background:var(--hx-field); padding:clamp(22px,3vw,36px); }
body.pn-id.pn-pd .hx-check .pb-headline{ font-family:var(--p4-serif); font-weight:400; font-size:clamp(28px,2.6vw,38px); line-height:1.1; color:var(--p4-ivory); margin:0; text-align:left; max-width:none; }
body.pn-id.pn-pd .hx-check .pb-subhead{ margin:12px 0 0; text-align:left; max-width:60ch; }
body.pn-id.pn-pd .hx-check .btn-primary{ margin-top:20px; display:inline-flex; align-items:center; background:var(--p4-terra); color:var(--p4-anth); border:0; text-decoration:none; font:600 16px/1.2 var(--p4-sans); }
body.pn-id.pn-pd .hx-check .btn-primary:hover, body.pn-id.pn-pd .hx-check .btn-primary:focus-visible{ background:var(--p4-terra-hover); color:var(--p4-anth); }

/* ---- chapter 04 journey ---------------------------------------------------- */
.hx-steps{ list-style:none; margin:clamp(32px,3.5vw,48px) 0 0; padding:0; display:grid; }
.hx-steps{ grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(18px,2vw,28px) clamp(22px,2.6vw,40px); }
.hx-steps > li{ border-top:1px solid var(--hx-amber,#D2AE6E); padding:18px 0 4px; display:flex; flex-direction:column; }
body.pn-id.pn-pd .hx-k{ margin:0; font:700 12.5px/1.3 var(--p4-sans); letter-spacing:.2em; text-transform:uppercase; color:var(--hx-amber-2); }
body.pn-id.pn-pd .hx-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 .hx-t{ margin:10px 0 0; font:400 16px/1.55 var(--p4-sans); color:#E4DED3; flex:1; }
body.pn-id.pn-pd .hx-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(--hx-line,#3F382C); color:var(--p4-stone); }
body.pn-id.pn-pd .hx-tag.is-established{ color:#C9DDBE; border-color:rgba(157,184,138,.5); }
body.pn-id.pn-pd .hx-tag.is-confirm-individually{ color:#F0C2A9; border-color:rgba(207,133,102,.6); }
body.pn-id.pn-pd .hx-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 .hx-a::after{ content:" \2192"; }
body.pn-id.pn-pd .hx-a:hover, body.pn-id.pn-pd .hx-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){
  .hx-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 journey, the qualification, the three routes and the four checks: swipeable rows of cards (the next card peeks) */
  .hx-steps, body.pn-id.pn-pd #pn-main .dq-qual, body.pn-id.pn-pd #pn-main .dq-adv-cols{ 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; }
  .hx-steps > li, body.pn-id.pn-pd #pn-main .dq-qual > li, body.pn-id.pn-pd #pn-main .dq-adv-cols > li{ scroll-snap-align:start; border:1px solid var(--hx-line,#3F382C); border-top:2px solid var(--hx-amber,#D2AE6E);
    border-radius:4px; padding:16px 16px 18px; background:var(--hx-field,#24211C); margin:0; }
  body.pn-id.pn-pd .hx-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{ 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; }
}
