/* Editorial project index, with the site's shared masthead and footer. */
.project-reader {
  --reader-ink:#193238; --reader-teal:#17393e; --reader-copper:#864624;
  --reader-edge:clamp(1.25rem,4.5vw,4.25rem);
  --reader-space:clamp(2.8rem,6vw,5.8rem);
  background:#fbfaf7;color:var(--reader-ink); font-size:1.0625rem;line-height:1.65;
}
.project-reader .pr-wrap {width:min(72rem,calc(100% - 2 * var(--reader-edge)));margin-inline:auto}
.project-reader :where(h1,h2,h3) {hyphens:none;overflow-wrap:normal;word-break:normal;text-wrap:balance}
.project-reader h1,.project-reader h2 {font-family:Georgia,'Times New Roman',serif;font-weight:500;letter-spacing:-.041em;line-height:1.09;margin:0}
.project-reader h1 {font-size:clamp(2.35rem,5.6vw,5.5rem)}
.project-reader h2 {font-size:clamp(1.86rem,3.6vw,3.2rem)}
.project-reader h3 {font-size:1.24rem;line-height:1.32;margin:0}
.project-reader p {color:#3b5356;margin:0}
.project-reader a {text-underline-offset:.21em}
.project-reader :is(a,summary):focus-visible {outline:3px solid #b55c2b;outline-offset:4px}
.project-reader [id] {scroll-margin-top:1.5rem}
.pr-crumb {display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .63rem;padding-block:.9rem;color:#465c5d;font-size:.93rem}
.pr-crumb a {display:inline-flex;align-items:center;min-height:2.75rem}
.pr-hero {background:var(--reader-teal)}
.project-reader .pr-spread {display:grid;align-items:center;grid-template-columns:minmax(0,1.05fr) minmax(0,.9fr);gap:clamp(2rem,6vw,6rem);padding-block:var(--reader-space)}
.pr-hero h1,.pr-hero h1 span {color:#fffaf0}
.pr-hero h1 span {color:#f6c69d}
.project-reader .pr-hero p {color:#e1edeb;max-width:52ch;margin-top:1.25rem;font-size:clamp(1.06rem,1.6vw,1.25rem)}
.project-reader .pr-hero .pr-byline {color:#f6c69d;font-weight:750;font-size:.92rem;margin:0 0 1.05rem}
.pr-hero figure {margin:0;background:#fcf6e9;color:var(--reader-ink);border-radius:1rem;overflow:hidden}
.pr-hero img {width:100%;height:auto;aspect-ratio:1.95;object-fit:cover;object-position:center 55%}
.pr-hero figcaption {padding:1rem clamp(1.1rem,2vw,1.65rem) 1.2rem;display:grid;grid-template-columns:auto 1fr;gap:.2rem .75rem;align-items:baseline}
.pr-hero figcaption strong {font-size:1.25rem;line-height:1.3}
.pr-hero figcaption b {text-align:right;color:#73401f;font-size:1.15rem;line-height:1.3}
.pr-hero figcaption small {grid-column:1/-1;font-size:.89rem;line-height:1.4;color:#425657}
.pr-contents {background:#f2f2ea;border-bottom:1px solid #d3ddd5}
.pr-contents .pr-wrap {display:flex;gap:.35rem 1.65rem;flex-wrap:wrap;padding-block:.65rem}
.pr-contents a {display:inline-flex;align-items:center;min-height:2.75rem;color:var(--reader-teal);font-weight:690;font-size:1rem}
.pr-section {padding-block:var(--reader-space)}
.pr-index {display:grid;grid-template-columns:minmax(0,.64fr) minmax(0,1.36fr);gap:clamp(2rem,5.5vw,5.4rem);align-items:start}
.pr-intro p,.pr-note p,.pr-budget-head p,.pr-contact p {margin-top:1rem}
.pr-intro p {max-width:42ch}
.project-reader .pr-intro .pr-method {margin-top:1.4rem;border-left:3px solid #af6c40;padding-left:1rem;font-size:1rem}
.pr-ledger {list-style:none;padding:0;margin:0;border-top:2px solid #3a5b5d}
.pr-row {display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:1rem;align-items:baseline;padding:1.05rem 0 1.1rem;border-bottom:1px solid #bfcfca}
.pr-row h3 a {color:var(--reader-teal);text-decoration-color:#87a3a0;text-decoration-thickness:1px;display:inline-block;padding:.23rem 0}
.pr-row h3 a:hover {color:#854426;text-decoration-color:currentColor}
.project-reader .pr-row p {grid-column:1/-1;max-width:58ch;margin-top:.15rem}
.pr-row .pr-est {font-size:1.12rem;font-weight:750;font-variant-numeric:tabular-nums;line-height:1.4;color:#704024}
.pr-portals {background:#eaf1eb}
.pr-budget-head {max-width:68ch}
.pr-tariffs {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:1.7rem 0 1.15rem}
.pr-plan {padding:clamp(1.05rem,2.2vw,1.5rem);border:1px solid #cbd7cf;border-top:3px solid #456766;border-radius:0 0 .75rem .75rem;background:white}
.pr-plan h3 {font-size:1.25rem}
.project-reader .pr-plan p {font-size:.97rem}
.pr-plan dl {margin:1rem 0 0}
.pr-plan dl div {display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:0 .5rem}
.pr-plan dt {font-size:1rem}
.pr-plan dd {font-size:1.05rem;font-weight:700;margin:0}
.pr-plan .pr-total {margin-top:.6rem;padding-top:.6rem;border-top:1px solid #cad6cf;color:#713e23}
.project-reader .pr-cost-note {max-width:83ch;font-size:1rem}
.pr-terms {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.4rem 3rem;margin-top:2.15rem}
.pr-terms p {margin:.55rem 0 0}
.pr-contact {background:#f1e6d6;padding:clamp(1.35rem,4vw,3rem);border-radius:1rem}
.pr-contact h2 {font-size:clamp(1.75rem,3vw,2.55rem)}
.pr-contact p {max-width:64ch}
.pr-actions {display:flex;gap:.6rem 1.4rem;flex-wrap:wrap;align-items:center;margin-top:1rem}
.pr-actions a,.pr-sources a {display:inline-flex;align-items:center;min-height:2.75rem}
.pr-bottom {padding-bottom:var(--reader-space)}
.pr-sources {margin-top:1.35rem;max-width:75ch;font-size:1rem}
.pr-sources summary {cursor:pointer;padding:.6rem 0;font-weight:700;color:#19464b;min-height:2.75rem}
.pr-sources div {padding:.4rem 0 0}
.pr-sources a {margin-right:1.2rem}
@media (max-width:64rem) {
 .project-reader .pr-spread {grid-template-columns:minmax(0,1fr);gap:1.6rem}
 .pr-hero figure {max-width:40rem}
 .pr-hero h1 {max-width:18ch}
 .pr-index {grid-template-columns:minmax(0,1fr);gap:1.5rem}
 .pr-intro p {max-width:68ch}
 .pr-tariffs {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:42rem) {
 .pr-crumb {gap:0 .5rem;padding-block:.45rem}
 .project-reader .pr-spread {padding-block:2rem}
 .pr-contents .pr-wrap {gap:0 1rem}
 .pr-row {grid-template-columns:minmax(0,1fr);row-gap:.25rem}
 .pr-row .pr-est {grid-row:3}
 .project-reader .pr-row p {margin:0}
 .pr-terms {grid-template-columns:minmax(0,1fr)}
 .pr-hero figcaption {grid-template-columns:minmax(0,1fr)}
 .pr-hero figcaption b {text-align:left}
 .project-reader ~ .site-footer .footer-grid {grid-template-columns:minmax(0,1fr)}
}
@media (max-width:34rem) {
 .pr-tariffs {grid-template-columns:minmax(0,1fr)}
 .pr-crumb {font-size:.9rem}
 .project-reader h1 {font-size:clamp(2.15rem,9.5vw,2.9rem)}
 .pr-row h3 {font-size:1.12rem}
}
@media print {
 .pr-contents,.pr-crumb,.pr-sources,.pr-actions,.site-header,.site-footer {display:none}
 .project-reader .pr-wrap {width:100%}
 .project-reader .pr-spread,.pr-index {display:block}
 .project-reader .pr-hero, .pr-portals {background:white}
 .project-reader .pr-hero :is(h1,h1 span,p),.project-reader .pr-hero .pr-byline {color:#17393e}
 .pr-hero figure {display:none}
 .pr-section,.project-reader .pr-spread {padding-block:1rem}
 .pr-row,.pr-plan {break-inside:avoid}
}
