/* 2 Read or Not 2 Read: The Reading Room (blog). Loads after site.css.
   Idea: dark library room, each post set on a vellum "page" with a ribbon marker and margin notes. */
.rr-hero{position:relative;padding:calc(var(--header-height) + 5rem) 0 3.5rem;overflow:hidden;isolation:isolate;border-bottom:1px solid rgba(243,237,226,.08)}
.rr-hero__img{position:absolute;inset:0;z-index:-1}
.rr-hero__img img{width:100%;height:100%;object-fit:cover;filter:brightness(.32) saturate(.8)}
.rr-hero h1{font-size:clamp(2.8rem,1.6rem + 5vw,7rem);font-weight:300;letter-spacing:-.04em;max-width:13ch}
.rr-hero h1 em{color:var(--ox-lit);font-style:italic}
.rr-hero .lede{max-width:50ch;color:var(--vellum-80);font-size:1.12rem;margin-top:1.4rem}
.rr-shelf-label{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;border-bottom:1px solid rgba(194,160,102,.35);padding-bottom:.9rem;margin:4rem 0 2rem}
.rr-shelf-label h2{font-size:clamp(1.6rem,1rem + 2vw,2.6rem);font-weight:300}
.rr-shelf-label span{font-size:.7rem;letter-spacing:.28em;text-transform:uppercase;color:var(--ash)}

/* Catalogue cards */
.rr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:0;border-top:1px solid rgba(194,160,102,.22);border-left:1px solid rgba(194,160,102,.22);counter-reset:rr}
.rr-grid:empty::before{content:"New notes are on the way.";display:block;padding:3rem;background:var(--ink);color:var(--vellum-60)}
.post-card{background:var(--ink);counter-increment:rr;position:relative;transition:background .35s;border-right:1px solid rgba(194,160,102,.22);border-bottom:1px solid rgba(194,160,102,.22)}
.post-card:hover{background:var(--umber)}
.post-card a{display:flex;flex-direction:column;height:100%;text-decoration:none;color:var(--vellum);padding:1.4rem 1.4rem 1.8rem}
.post-card a::before{content:"No. " counter(rr, decimal-leading-zero);font-family:var(--sans);font-size:.68rem;letter-spacing:.3em;color:var(--brass);margin-bottom:1rem}
.post-card img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;filter:grayscale(.35) brightness(.85);transition:filter .5s;margin-bottom:1.2rem}
.post-card:hover img{filter:none}
.post-card-date{font-size:.7rem;letter-spacing:.24em;text-transform:uppercase;color:var(--ash);margin-bottom:.6rem}
.post-card h3{font-size:1.45rem;font-weight:400;line-height:1.15;margin-bottom:.8rem}
.post-card p{font-size:.95rem;color:var(--vellum-60);margin:0}
.post-card::after{content:"";position:absolute;top:0;right:1.6rem;width:10px;height:0;background:var(--ox);transition:height .35s;clip-path:polygon(0 0,100% 0,100% 100%,50% 82%,0 100%)}
.post-card:hover::after{height:42px}
.rr-grid--first .post-card:first-child{grid-column:1/-1}
@media (min-width:900px){
  .rr-grid--first .post-card:first-child a{display:grid;grid-template-columns:1.25fr 1fr;column-gap:2.5rem;align-items:end}
  .rr-grid--first .post-card:first-child a::before{grid-column:2}
  .rr-grid--first .post-card:first-child img{grid-row:1/6;margin:0;aspect-ratio:16/10}
  .rr-grid--first .post-card:first-child h3{font-size:2.4rem;font-weight:300}
}

/* Post */
.rr-post{padding-top:calc(var(--header-height) + 3.5rem)}
.rr-crumbs{font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;color:var(--ash);margin-bottom:2rem}
.rr-crumbs a{color:var(--vellum-80);text-decoration:none}
.rr-crumbs a:hover{color:var(--brass)}
.rr-title{max-width:980px}
.rr-title h1{font-size:clamp(2.4rem,1.2rem + 4.2vw,5.6rem);font-weight:300;letter-spacing:-.035em;line-height:1}
.rr-meta{display:flex;flex-wrap:wrap;gap:.6rem 1.6rem;margin-top:1.6rem;font-size:.75rem;letter-spacing:.2em;text-transform:uppercase;color:var(--vellum-60)}
.rr-meta b{color:var(--brass);font-weight:500}
.rr-figure{margin:3rem 0 0;position:relative}
.rr-figure img{width:100%;height:auto;aspect-ratio:16/9;max-height:68vh;object-fit:cover}
.rr-page{position:relative;background:var(--vellum);color:var(--ink);max-width:1100px;margin:-6rem auto 0;padding:clamp(2.2rem,5vw,5rem) clamp(1.4rem,6vw,6.5rem);box-shadow:0 40px 80px rgba(0,0,0,.45)}
.rr-page::before{content:"";position:absolute;top:-14px;right:clamp(1.4rem,6vw,6.5rem);width:16px;height:96px;background:var(--ox);clip-path:polygon(0 0,100% 0,100% 100%,50% 86%,0 100%)}
.rr-body{max-width:68ch;margin:0 auto;font-size:1.12rem;line-height:1.75}
.rr-body>p:first-child::first-letter{font-family:var(--serif);float:left;font-size:4.6em;line-height:.82;padding:.06em .1em 0 0;color:var(--ox)}
.rr-body h2{font-size:clamp(1.7rem,1.2rem + 1.4vw,2.4rem);font-weight:400;margin:2.6em 0 .7em;color:var(--ink)}
.rr-body h3{font-size:1.35rem;font-weight:500;margin:2em 0 .5em;color:var(--ink)}
.rr-body a{color:var(--ox);text-decoration-thickness:1px;text-underline-offset:3px}
.rr-body a:hover{color:var(--ink)}
.rr-body ul,.rr-body ol{padding-left:1.3em}
.rr-body li{margin:.35em 0}
.rr-body strong{font-weight:600}
.rr-body blockquote{margin:2em 0;padding:0 0 0 1.4rem;border-left:2px solid var(--brass);font-family:var(--serif);font-style:italic;font-size:1.25rem}
.rr-body .callout{margin:2.2em 0;padding:1.3rem 1.5rem;background:#ece3d2;border-left:3px solid var(--brass)}
.rr-body .callout[data-kind="warning"]{border-left-color:var(--ox);background:#efe0d8}
.rr-body .callout[data-kind="tip"]{border-left-color:#5b6b4a}
.rr-body .callout[data-kind="messy"]{border-left-style:dashed;border-left-color:var(--ink)}
.rr-body .callout p:last-child{margin-bottom:0}
.callout-label{font-family:var(--sans);font-size:.7rem!important;font-weight:600;letter-spacing:.26em;text-transform:uppercase;color:#6d5a3a;margin-bottom:.5rem!important}
.rr-body .table-wrap{overflow-x:auto;margin:2em 0;border-top:2px solid var(--ink);border-bottom:1px solid var(--ink)}
.rr-body table{border-collapse:collapse;width:100%;font-size:.97rem;line-height:1.5}
.rr-body th{text-align:left;font-family:var(--sans);font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;padding:.8rem .7rem;border-bottom:1px solid var(--ink)}
.rr-body td{padding:.75rem .7rem;border-bottom:1px solid rgba(20,17,15,.14);vertical-align:top}
.rr-body .decision{margin:2.2em 0;padding:1.4rem 1.5rem;border:1px solid var(--ink)}
.rr-body .decision ul{list-style:none;padding:0;margin:0}
.rr-body .decision li{padding-left:1.6rem;position:relative}
.rr-body .decision li::before{content:"\2192";position:absolute;left:0;color:var(--ox)}
.rr-body .bottom-line{margin:2.4em 0;padding:1.6rem 1.7rem;background:var(--ink);color:var(--vellum)}
.rr-body .bottom-line .callout-label{color:var(--brass)}
.rr-body .bottom-line p:last-child{margin:0;font-family:var(--serif);font-size:1.25rem;line-height:1.45}
.rr-body .bottom-line a{color:var(--brass-pale)}
.rr-body .checklist{list-style:none;padding:0}
.rr-body .checklist li{padding-left:2rem;position:relative}
.rr-body .checklist li::before{content:"";position:absolute;left:0;top:.45em;width:.95rem;height:.95rem;border:1.5px solid var(--ink)}
.rr-body .cta-line{margin-top:2.2em;padding-top:1.2rem;border-top:1px solid rgba(20,17,15,.2);font-style:italic}
.rr-sign{max-width:68ch;margin:3.5rem auto 0;padding-top:1.6rem;border-top:1px solid rgba(20,17,15,.2);display:grid;grid-template-columns:auto 1fr;gap:1.2rem;align-items:start;font-size:.95rem;color:#4a423b}
.rr-sign img{width:52px;height:auto}
.rr-sign b{display:block;color:var(--ink);font-family:var(--serif);font-weight:500;font-size:1.1rem}
.rr-sign a{color:var(--ox)}
.rr-related{padding:6rem 0 2rem}
@media (max-width:700px){.rr-page{margin-top:-2rem}.rr-body{font-size:1.05rem}.rr-figure img{aspect-ratio:4/3}.rr-body table{font-size:.88rem}}
@media print{.site-header,.site-footer,.rr-related,.cta{display:none}.rr-page{box-shadow:none;margin:0}}
