/* Root & Whole (English edition): type and colour layer, loaded after style.css.
   Standard: Cormorant Garamond for quotes and the wordmark, EB Garamond for reading text and bylines,
   Inter for interface text. Fonts are self-hosted (static/fonts), Latin subset, woff2. */

@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:500;font-display:swap;src:url(/static/fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Cormorant Garamond";font-style:italic;font-weight:500;font-display:swap;src:url(/static/fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2")}
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:600;font-display:swap;src:url(/static/fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Cormorant Garamond";font-style:italic;font-weight:600;font-display:swap;src:url(/static/fonts/cormorant-garamond-latin-600-italic.woff2) format("woff2")}
@font-face{font-family:"EB Garamond";font-style:normal;font-weight:400;font-display:swap;src:url(/static/fonts/eb-garamond-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"EB Garamond";font-style:italic;font-weight:400;font-display:swap;src:url(/static/fonts/eb-garamond-latin-400-italic.woff2) format("woff2")}
@font-face{font-family:"EB Garamond";font-style:normal;font-weight:500;font-display:swap;src:url(/static/fonts/eb-garamond-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url(/static/fonts/inter-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url(/static/fonts/inter-latin-500-normal.woff2) format("woff2")}

:root{
  --rw-display:"Cormorant Garamond","EB Garamond",Georgia,"Times New Roman",serif;
  --rw-text:"EB Garamond","Cormorant Garamond",Georgia,"Times New Roman",serif;
  --rw-ui:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;

  /* paper, warm ink, the existing burgundy as the only accent */
  --bg:#f5f0e8;
  --ink:#26231d;
  --sub:#6a6256;
  --line:#26231d;
  --panel-a:#fbf8f2;
  --panel-b:#ece4d6;
  --overlay-bg:#1c1914;
  --overlay-ink:#efe8da;
  --overlay-sub:#a79d8c;
  --overlay-panel-a:#26221c;
  --overlay-panel-b:#1e1a15;
  --overlay-line:#4a443a;
}

body{font-family:var(--rw-ui)}

/* wordmark: the ampersand in italic, as on the share images */
.rw-wordmark{font-family:var(--rw-display);font-weight:600;font-size:26px;letter-spacing:.01em}
.rw-wordmark span{font-weight:500;opacity:.8}

/* the quote is the main thing on the page */
.quote{
  font-family:var(--rw-display);font-style:italic;font-weight:500;
  font-size:clamp(30px,6.4vw,40px);line-height:1.25;letter-spacing:.003em;
  text-wrap:balance;font-feature-settings:"liga","onum";
}
.quote::before{content:"\201C";margin-left:-.4em}
.quote::after{content:"\201D"}
.quote.quote-long{font-size:clamp(23px,4.6vw,28px);line-height:1.32;text-wrap:pretty}

/* byline: author in small capitals, work in italic, number in old-style figures */
.source{
  font-family:var(--rw-text);font-weight:500;font-size:16px;color:var(--ink);
  font-variant-caps:all-small-caps;letter-spacing:.09em;
}
.source-book{font-family:var(--rw-text);font-style:italic;font-size:15px;color:var(--sub);opacity:1}
.code{font-family:var(--rw-text);font-size:13px;color:var(--sub);opacity:.85;font-variant-numeric:oldstyle-nums;letter-spacing:.04em}

/* the deeper note is reading text */
.overlay-recap p{font-family:var(--rw-display);font-style:italic;font-weight:500;font-size:20px;line-height:1.45}
.overlay-body{font-family:var(--rw-text);font-size:18px;line-height:1.65;font-feature-settings:"liga","onum";hyphens:auto}

/* reading pages: about, terms, privacy, refunds, pricing */
.about-body,.rw-legal{font-family:var(--rw-text);font-feature-settings:"liga","onum"}
.about-body{max-width:34em;margin:0 auto;font-size:19px;line-height:1.65}
.rw-legal{font-size:17.5px}
.rw-legal h1,.rw-legal h2,.about-body h1,.about-body h2{font-family:var(--rw-display);font-weight:500;text-wrap:balance}
.rw-legal h1{font-size:34px;line-height:1.15}
.rw-legal h2{font-size:23px}
.rw-legal .rw-updated{font-family:var(--rw-ui);font-size:13px}
.rw-plan .rw-price{font-family:var(--rw-display);font-weight:600;font-variant-numeric:lining-nums}

/* ornament between blocks */
.rw-ornament{width:56px;height:2px;background:var(--accent);margin:34px auto}   /* the brand's short red rule */

/* "Read" is a word, so the round button becomes a pill */
.deep-btn{width:auto;min-width:32px;padding:0 13px;border-radius:16px;font-family:var(--rw-ui);font-weight:500}

/* before/after and with/without pictures */
.rw-figs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:26px 0}
.rw-figs figure{margin:0;display:flex;flex-direction:column;gap:8px;min-width:0}
.rw-figs img{display:block;width:100%;height:auto;border-radius:3px;border:.5px solid var(--line)}
.rw-figs figcaption{font-family:var(--rw-ui);font-size:12.5px;color:var(--sub);line-height:1.4}
.rw-figs figcaption strong{color:var(--ink);font-weight:500}
.rw-figs.rw-figs-wide{max-width:520px;margin-inline:auto}
