/* P01 homepage editorial reconstruction — five light sections after .dl-hero.
   Scoped to body[data-page=P01] .home-editorial only; .dl-hero untouched. */
body[data-page=P01] main > .home-editorial{width:100%;max-width:var(--qe-container);margin-inline:auto;box-sizing:border-box;background:var(--ivory);background-image:none;padding:clamp(2.25rem,3.5vw,3.25rem) var(--qe-pad);border-top:var(--qe-rule);color:var(--ink);font-size:var(--qe-body);line-height:1.65}
body[data-page=P01] .home-editorial .home-inner{display:grid;grid-template-columns:1fr;gap:1.25rem 3rem;align-items:start}
body[data-page=P01] .home-editorial h2{font:400 var(--qe-h2)/1.12 var(--serif);letter-spacing:-.025em;color:var(--ink);margin:0;max-width:22ch;text-wrap:balance}
body[data-page=P01] .home-editorial h3{font:400 var(--qe-h3)/1.25 var(--serif);letter-spacing:-.015em;color:var(--ink);margin:0 0 .6rem}
body[data-page=P01] .home-editorial p{margin:0;max-width:var(--qe-measure);font-size:var(--qe-body);line-height:1.65;color:var(--ink)}
body[data-page=P01] .home-editorial p + p{margin-top:.75rem}
body[data-page=P01] .home-editorial .home-section-heading > p{margin-top:.9rem;color:var(--muted);font-size:var(--qe-lead);line-height:1.5}
body[data-page=P01] .home-editorial .text-link{display:inline-flex;align-items:center;min-height:44px;margin-top:.5rem;font-size:var(--qe-util);font-weight:600;color:var(--teal);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.25em}
body[data-page=P01] .home-editorial .text-link:hover{text-decoration-thickness:2px}
body[data-page=P01] .home-editorial :focus-visible{outline:var(--qe-focus);outline-offset:3px;border-radius:2px}

/* Transition: final paragraph emphasised as a pull statement */
body[data-page=P01] .home-transition .home-prose > p:last-child{margin-top:1.25rem;padding-left:1.1rem;border-left:2px solid var(--teal);font:400 var(--qe-h3)/1.4 var(--serif);color:var(--ink);max-width:52ch}

/* Footprint */
body[data-page=P01] .home-footprint .origin-wrap{display:grid;grid-template-columns:1fr;gap:1.5rem;margin:0}
body[data-page=P01] .home-footprint .origin-buttons{display:flex;flex-direction:column;border-top:var(--qe-rule)}
body[data-page=P01] .home-footprint .origin-buttons[hidden]{display:none!important}
html:not(.js) body[data-page=P01] .home-footprint .origin-wrap{display:block}
body[data-page=P01] .home-footprint .origin-fallback article{margin-top:1.5rem;padding-top:1.25rem;border-top:var(--qe-rule)}
body[data-page=P01] .home-footprint .origin-buttons button[data-origin]{width:100%;min-height:44px;display:flex;align-items:center;padding:.8rem .25rem;border:0;border-bottom:var(--qe-rule);border-radius:0;background:transparent;box-shadow:none;color:var(--ink);text-align:left;font:400 1.125rem/1.3 var(--serif);transition:none}
body[data-page=P01] .home-footprint .origin-buttons button[data-origin]:hover{color:var(--teal);background:transparent}
body[data-page=P01] .home-footprint .origin-buttons button[aria-pressed=true]{color:var(--teal);background:transparent;border-bottom:2px solid var(--teal);font-style:italic}
body[data-page=P01] .home-footprint .origin-explainer{min-height:0;padding:0 0 0 1.5rem;background:transparent;border:0;border-left:2px solid var(--teal);border-radius:0;box-shadow:none}
body[data-page=P01] .home-footprint .origin-explainer h3{margin:0 0 .75rem;font-size:var(--qe-h3)}
body[data-page=P01] .home-footprint .origin-paragraphs p{color:var(--ink);line-height:1.65;max-width:60ch}
body[data-page=P01] .home-footprint .origin-conclusion{margin-top:1.75rem;padding-top:1.25rem;border-top:var(--qe-rule);font:400 var(--qe-lead)/1.5 var(--serif);max-width:60ch}

/* Insights: long-form entries separated by rules */
body[data-page=P01] .home-insight-list{display:grid;grid-template-columns:1fr;border-top:var(--qe-rule)}
body[data-page=P01] .home-insight{padding:1.5rem 0;border-bottom:var(--qe-rule)}

/* Pathways: three columns on wide screens */
body[data-page=P01] .home-pathway-list{display:grid;grid-template-columns:1fr;gap:0 2.5rem;border-top:var(--qe-rule)}
body[data-page=P01] .home-pathway{display:flex;flex-direction:column;padding:1.5rem 0;border-bottom:var(--qe-rule)}
body[data-page=P01] .home-pathway .home-deck{font:italic 400 1.0625rem/1.45 var(--serif);color:var(--teal);margin-bottom:.6rem}
body[data-page=P01] .home-pathway .home-deck + p{margin-top:0;color:var(--muted);font-size:var(--qe-util);line-height:1.6}
body[data-page=P01] .home-pathway .text-link{margin-top:auto;padding-top:.75rem}

/* Closing */
body[data-page=P01] .home-closing-grid{display:grid;grid-template-columns:1fr;gap:2rem 3rem}
body[data-page=P01] .home-closing-grid > article{border-top:var(--qe-rule);padding-top:1.5rem}
body[data-page=P01] .home-closing-grid > article h2{font-size:clamp(1.625rem,1.2rem + 1vw,2rem);margin-bottom:.5rem}
body[data-page=P01] .home-closing-grid > article h2 + p{font:italic 400 var(--qe-lead)/1.45 var(--serif);color:var(--teal);margin-bottom:.9rem}
body[data-page=P01] .home-closing .home-links{display:flex;flex-wrap:wrap;gap:0 1.5rem;margin-top:.75rem}
body[data-page=P01] .home-closing .home-guiding-thought{grid-column:1 / -1;margin:1rem 0 0;padding-top:1.5rem;border-top:var(--qe-rule);max-width:none;font:400 var(--qe-h3)/1.35 var(--serif);color:var(--ink);text-align:center}

@media (min-width:900px){
  body[data-page=P01] .home-footprint .origin-wrap{grid-template-columns:minmax(14rem,.75fr) minmax(0,1.6fr);gap:2.5rem}
  body[data-page=P01] .home-pathway-list{grid-template-columns:repeat(3,minmax(0,1fr))}
  body[data-page=P01] .home-closing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:1100px){
  /* Heading rail left, bounded reading column right */
  body[data-page=P01] .home-editorial .home-inner{grid-template-columns:18rem minmax(0,1fr)}
  body[data-page=P01] .home-editorial .home-section-heading{position:static}
  body[data-page=P01] .home-pathways .home-inner,
  body[data-page=P01] .home-footprint .home-inner,
  body[data-page=P01] .home-insights .home-inner,
  body[data-page=P01] .home-closing .home-inner{grid-template-columns:1fr}
  body[data-page=P01] .home-pathways .home-section-heading{display:grid;grid-template-columns:18rem minmax(0,1fr);gap:0 3rem;align-items:start}
  body[data-page=P01] .home-footprint .home-section-heading h2,
  body[data-page=P01] .home-insights .home-section-heading h2{max-width:36ch}
  body[data-page=P01] .home-footprint .home-lead{margin-top:1rem;max-width:var(--qe-measure)}
  body[data-page=P01] .home-pathways .home-section-heading > p{margin-top:0}
  body[data-page=P01] .home-insight{display:grid;grid-template-columns:minmax(0,15rem) minmax(0,1fr);gap:0 2.5rem}
  body[data-page=P01] .home-insight > :not(h3){grid-column:2}
  body[data-page=P01] .home-insight > h3{grid-column:1;grid-row:1 / span 20;margin:0}
}
@media (max-width:720px){
  body[data-page=P01] main > .home-editorial{padding:2rem var(--qe-pad)}
  body[data-page=P01] .home-closing .home-guiding-thought{text-align:left}
}
@media (prefers-reduced-motion:reduce){
  body[data-page=P01] .home-editorial *{transition:none!important;animation:none!important}
}
@media print{
  body[data-page=P01] main > .home-editorial{background:white!important;padding:1rem 0}
}
