/*
 * One stylesheet, no build step.
 *
 * The values below are DEFAULTS. Per-site accent, typeface pairing and masthead
 * ornament are injected as custom properties from `src/theme.js`, driven by
 * `visual` in that site's site.json — so a pin and the page it links to look
 * like one publication.
 *
 * They were hardcoded here until 2026-08-01, which meant every site in the
 * portfolio rendered in one accent and one display face regardless of its
 * config. Two sites launched looking identical apart from the masthead text,
 * while their pins were correctly branded — the worst arrangement, because a
 * reader arriving from Pinterest lands on something that does not look like
 * what they clicked. Change a default here and you change every site that has
 * not set that value; change site.json to change one.
 */

:root {
  --accent: #c2185b;
  --accent-soft: #fdf2f6;
  --ink: #1a1618;
  --ink-2: #574e52;
  --muted: #8c8289;
  --surface: #fffdfc;
  --surface-2: #f7f2f4;
  --line: #ece4e7;
  --shadow: 0 1px 2px rgb(26 22 24 / 0.04), 0 8px 24px -12px rgb(26 22 24 / 0.14);
  --measure: 40rem;
  --display: Didot, "Bodoni 72", "Playfair Display", Baskerville, Georgia, serif;
  --text: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
}

/*
 * No dark block here.
 *
 * Light and dark are a per-shell decision now (src/shells.js) — some sites are
 * light only, one is dark only, some follow the system. A second palette at
 * this level would race the shell's and win or lose by source order, which is
 * not a thing anybody should have to reason about.
 */

*, *::before, *::after { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  background: var(--surface);
  color: var(--ink);
  font: 17px/1.7 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

.cwl-w5e5uj { position: absolute; left: -9999px; }
.cwl-w5e5uj:focus {
  left: 1rem; top: 1rem; z-index: 10; background: var(--surface);
  padding: .6rem 1rem; border: 2px solid var(--accent); border-radius: 8px;
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.cwl-chakyw { max-width: var(--measure); margin: 0 auto; padding: 0 1.5rem; }
.cwl-chybs5 { max-width: 62rem; }

/* ── header ──────────────────────────────────────────────────────────────── */

.cwl-bl12af {
  padding: 2.2rem 0 1.8rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.cwl-clmr3d {
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: .01em;
  text-decoration: none;
  display: inline-block;
}
.cwl-cikgfv {
  color: var(--muted); font-size: .9rem; margin-top: .35rem;
  max-width: 34rem; margin-inline: auto;
}

/* A hairline of brand under the masthead. Shape is set per ornament in theme.js. */
.cwl-bl12af::after {
  content: ""; display: block; width: 48px; height: 3px; border-radius: 2px;
  background: var(--accent); margin: 1.1rem auto -1.8rem;
}

/* ── index ───────────────────────────────────────────────────────────────── */

.cwl-c7wujf { list-style: none; padding: 0; display: grid; gap: 1.25rem; }

.cwl-cpzqyj {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.cwl-cpzqyj:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--accent) 30%, var(--line));
}

.cwl-c9epos {
  text-decoration: none; display: grid; gap: 1.25rem;
  grid-template-columns: 116px 1fr;
  align-items: center;
  padding: 1.1rem 1.35rem 1.1rem 1.1rem;
}
.cwl-cpzqyj:not(:has(.cwl-c79ouv)) .cwl-c9epos { grid-template-columns: 1fr; }

.cwl-c79ouv {
  border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
  background: var(--surface-2); aspect-ratio: 2 / 3;
}
.cwl-c79ouv img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

.cwl-cf5m41 {
  font-family: var(--display);
  font-size: 1.4rem; line-height: 1.22; letter-spacing: .002em;
  text-wrap: balance; margin-top: .15rem;
}
.cwl-c0dqv6 {
  color: var(--ink-2); margin-top: .45rem; font-size: .95rem; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cwl-yoesf8 { color: var(--muted); font-size: .8rem; margin-top: .5rem; }

/* The newest guide gets the room. */
.cwl-cj1tz8 .cwl-c9epos { grid-template-columns: 190px 1fr; gap: 1.75rem; padding: 1.5rem; }
.cwl-cj1tz8 .cwl-cf5m41 { font-size: 1.95rem; }
.cwl-cj1tz8 .cwl-c0dqv6 { -webkit-line-clamp: 3; font-size: 1rem; }

@media (max-width: 34rem) {
  .cwl-c9epos,
  .cwl-cj1tz8 .cwl-c9epos { grid-template-columns: 92px 1fr; gap: 1rem; padding: 1rem; }
  .cwl-cj1tz8 .cwl-cf5m41 { font-size: 1.4rem; }
}

.cwl-df00x8 {
  display: inline-block; font-size: .68rem; letter-spacing: .09em;
  text-transform: uppercase; font-weight: 650; color: var(--accent);
  background: var(--accent-soft); padding: .18rem .5rem; border-radius: 100px;
  margin-bottom: .45rem;
}

.cwl-c8c3z9 { color: var(--muted); }

.cwl-a4c7yi {
  background: var(--surface-2); border-left: 3px solid var(--accent);
  padding: .85rem 1.1rem; margin-bottom: 2rem; font-size: .9rem;
  border-radius: 0 8px 8px 0;
}
.cwl-c2h56c { border-left-color: #d9840b; }

.cwl-ciojox {
  font-family: var(--display); font-size: 1.25rem;
  margin: 3rem 0 .9rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.cwl-uhunna { list-style: none; padding: 0; display: grid; gap: .6rem; font-size: .92rem; }
.cwl-ceak2n { color: var(--muted); display: block; font-size: .8rem; }

/* ── post ────────────────────────────────────────────────────────────────── */

/* Only drawn by the `banner` header variant; see src/reading.js. */
.cwl-xp4sp0 {
  margin: 0 0 1.9rem; border-radius: var(--radius); overflow: hidden;
  border: var(--border, 0px) solid var(--line);
}
.cwl-xp4sp0 img { display: block; width: 100%; height: auto; }

.cwl-c723ou { text-align: center; margin-bottom: 2.75rem; }
.cwl-cvwq7e {
  font-family: var(--display);
  font-size: clamp(2.1rem, 5.5vw, 3.1rem);
  line-height: 1.1; letter-spacing: .004em; text-wrap: balance;
}
.cwl-u4qsup { color: var(--muted); font-size: .85rem; margin-top: .85rem; }

.cwl-ccid8t {
  margin-top: 1.6rem; padding: .8rem 1.1rem;
  background: var(--accent-soft); border-radius: 10px;
  color: var(--ink-2); font-size: .84rem; line-height: 1.55; text-align: left;
}

.cwl-cqtnlr > *:first-child { margin-top: 0; }
.cwl-cqtnlr h2 {
  font-family: var(--display); font-size: 1.75rem; line-height: 1.2;
  margin: 3rem 0 .9rem; letter-spacing: .003em; text-wrap: balance;
}
.cwl-cqtnlr h3 { font-size: 1.15rem; margin: 2.1rem 0 .6rem; }
.cwl-cqtnlr p { margin: 1.15rem 0; }
.cwl-cqtnlr ul, .cwl-cqtnlr ol { margin: 1.15rem 0 1.15rem 1.3rem; }
.cwl-cqtnlr li { margin: .45rem 0; }
.cwl-cqtnlr li::marker { color: var(--accent); }
.cwl-cqtnlr strong { font-weight: 650; }
.cwl-cqtnlr a { color: var(--accent); text-underline-offset: 3px; }

.cwl-cqtnlr blockquote {
  border-left: 3px solid var(--accent); padding-left: 1.1rem;
  margin: 1.8rem 0; color: var(--ink-2); font-style: italic;
}
.cwl-cqtnlr code {
  background: var(--surface-2); padding: .12em .38em; border-radius: 5px; font-size: .88em;
}
.cwl-cqtnlr pre {
  background: var(--surface-2); padding: 1rem 1.1rem; border-radius: 10px;
  overflow-x: auto; margin: 1.5rem 0;
}
.cwl-cqtnlr pre code { background: none; padding: 0; }

/* Wide content scrolls inside its own box; the page never scrolls sideways. */
.cwl-cqtnlr table {
  display: block; overflow-x: auto; border-collapse: collapse; margin: 1.7rem 0; font-size: .93rem;
}
.cwl-cqtnlr th, .cwl-cqtnlr td {
  border-bottom: 1px solid var(--line); padding: .65rem .9rem; text-align: left; white-space: nowrap;
}
.cwl-cqtnlr th { font-weight: 650; }

/* ── figures ─────────────────────────────────────────────────────────────── */

/*
 * The chart, the stat card and the pull quote, breaking out of the measure.
 *
 * Wider than the text on purpose: a figure that lines up exactly with the
 * column reads as another paragraph, and the point of lifting it out is that
 * the eye stops.
 */
.cwl-jjbpgk {
  margin: 2.5rem calc(-1 * clamp(0px, 4vw, 3rem));
  text-align: center;
}
.cwl-jjbpgk img {
  width: 100%; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface-2); display: block;
}
.cwl-jjbpgk figcaption {
  color: var(--muted); font-size: .8rem; margin-top: .6rem; font-style: italic;
}
.cwl-cofgj5 img, .cwl-cw9p2w img { max-width: 26rem; margin-inline: auto; }

/* ── save block ──────────────────────────────────────────────────────────── */

.cwl-k4az41 {
  margin-top: 3.5rem; padding: 1.5rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface-2);
  display: grid; grid-template-columns: 132px 1fr; gap: 1.4rem; align-items: center;
}
.cwl-c4glo1 {
  width: 100%; border-radius: 10px; border: 1px solid var(--line);
  box-shadow: var(--shadow); display: block;
}
.cwl-coowlc h2 { font-family: var(--display); font-size: 1.35rem; }
.cwl-coowlc p { color: var(--ink-2); font-size: .92rem; margin-top: .35rem; }
.cwl-ck9zu7 {
  display: inline-block; margin-top: .9rem;
  background: var(--accent); color: #fff; text-decoration: none;
  padding: .6rem 1.1rem; border-radius: 100px; font-size: .88rem; font-weight: 600;
  transition: filter .15s ease;
}
.cwl-ck9zu7:hover { filter: brightness(1.08); }

@media (max-width: 30rem) {
  .cwl-k4az41 { grid-template-columns: 1fr; text-align: center; }
  .cwl-c4glo1 { max-width: 190px; margin-inline: auto; }
}

/* ── faq / sources ───────────────────────────────────────────────────────── */

.cwl-lkjeos, .cwl-cbs3is { margin-top: 3.5rem; padding-top: 1.7rem; border-top: 1px solid var(--line); }
.cwl-lkjeos h2, .cwl-cbs3is h2 { font-family: var(--display); font-size: 1.45rem; margin-bottom: 1rem; }
.cwl-v9sudl { border-bottom: 1px solid var(--line); padding: .85rem 0; }
.cwl-v9sudl summary { cursor: pointer; font-weight: 600; }
.cwl-v9sudl summary::marker { color: var(--accent); }
.cwl-v9sudl p { margin-top: .6rem; color: var(--ink-2); }

.cwl-cbs3is { font-size: .89rem; }
.cwl-cbs3is ol { margin-left: 1.2rem; }
.cwl-cbs3is li { margin: .5rem 0; }
.cwl-cbs3is li::marker { color: var(--accent); }
.cwl-cdydyv { color: var(--muted); }

/* ── footer ──────────────────────────────────────────────────────────────── */

.cwl-cf8fsx {
  border-top: 1px solid var(--line); margin-top: 5rem; padding: 2.2rem 0 4rem;
  color: var(--muted); font-size: .85rem; text-align: center;
}
.cwl-c8fr46 { max-width: 42rem; margin-inline: auto; }
.cwl-c86uny { margin-top: .9rem; }
.cwl-cf8fsx a { color: var(--muted); }

:root { color-scheme: light dark;
    --surface: #ffffff;
    --surface-2: #f5f7fa;
    --ink: #12161c;
    --ink-2: #4a535f;
    --muted: #818c9a;
    --line: #e4e9ef;
    --shadow: 0 1px 2px rgb(16 22 30 / .05), 0 10px 28px -14px rgb(16 22 30 / .18);
    --radius: 16px;
    --measure: 42rem;
    --pad: 1.35rem;
    --gap: 1.25rem;
    --title-scale: 1.4;
    --border: 1px; }
@media (prefers-color-scheme: dark) { :root {
    --surface: #12151a;
    --surface-2: #1b1f26;
    --ink: #eef2f6;
    --ink-2: #b9c2cc;
    --muted: #7f8996;
    --line: #272d36;
    --shadow: 0 1px 2px rgb(0 0 0 / .35), 0 10px 28px -14px rgb(0 0 0 / .7); } }

.cwl-cpzqyj { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none; }
.cwl-cpzqyj:hover {
  box-shadow: var(--shadow);
  border-color: color-mix(in oklab, var(--accent) 45%, var(--line));
  transform: translateY(-2px);
}
.cwl-c7wujf { gap: var(--gap); }
.cwl-c9epos { padding: var(--pad); }
.cwl-cf5m41 { font-size: calc(var(--title-scale) * 1rem); }
:root {
    --display: "New York", "Hoefler Text", Charter, Georgia, "Times New Roman", serif;
    --text: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
    --display-tracking: -0.4px;
    --display-weight: 600;
    --accent: #247524;
    --accent-soft: color-mix(in oklab, var(--accent) 7%, var(--surface));
  }
  @media (prefers-color-scheme: dark) {
    :root { --accent: color-mix(in oklab, #247524 72%, white); --accent-soft: color-mix(in oklab, var(--accent) 14%, var(--surface)); }
  }
  .cwl-clmr3d {
    font-weight: var(--display-weight);
    letter-spacing: var(--display-tracking);
  }
  .cwl-bl12af {
  }
  .cwl-bl12af::after {width: 48px; height: 3px; border-radius: 2px;
  }

.cwl-c7wujf { gap: .1rem; }
.cwl-cj1tz8 { border: 0; background: none; margin-bottom: 1.6rem; }
.cwl-cj1tz8:hover { box-shadow: none; transform: none; }
.cwl-cj1tz8 .cwl-c9epos { display: block; padding: 0; }
.cwl-cj1tz8 .cwl-c79ouv { aspect-ratio: 1200 / 630; border-radius: var(--radius); }
.cwl-cj1tz8 .cwl-crb7t6 { padding: 1.1rem .1rem 0; }
.cwl-cj1tz8 .cwl-cf5m41 { font-size: 2.2rem; }
.cwl-cpzqyj:not(.cwl-cj1tz8) { border: 0; border-radius: 0; background: none; border-top: 1px solid var(--line); }
.cwl-cpzqyj:not(.cwl-cj1tz8):hover { box-shadow: none; transform: none; background: var(--surface-2); }
.cwl-cpzqyj:not(.cwl-cj1tz8) .cwl-c9epos { grid-template-columns: 1fr; padding: 1.05rem .4rem; }
.cwl-cpzqyj:not(.cwl-cj1tz8) .cwl-cf5m41 { font-size: 1.1rem; }
.cwl-cpzqyj:not(.cwl-cj1tz8) .cwl-c0dqv6 { display: none; }
.cwl-bl12af { text-align: left; }
.cwl-cikgfv { margin-inline: 0; }
.cwl-bl12af::after { margin-inline: 0 auto; }

.cwl-cqtnlr { font-size: 17px; line-height: 1.7; }
.cwl-cqtnlr h2 { font-size: 1.45rem; }

.cwl-cqtnlr > p + p { margin-top: 1.25em; }
.cwl-c723ou { text-align: left; }

.cwl-bl12af { padding: 2.4rem 0 1.6rem; border-bottom: 0; }
.cwl-clmr3d { font-size: 2.6rem; text-transform: lowercase; letter-spacing: -0.02em; font-weight: 700; }
.cwl-cikgfv { display: none; }
/* A menu, not a feed: hairline rules, generous air, no chrome. */
.cwl-cpzqyj { background: none; border: 0; border-top: 1px solid var(--ink-2); border-radius: 0; box-shadow: none; padding-top: 1.4rem; }
.cwl-cpzqyj:hover { transform: none; box-shadow: none; }
.cwl-c7wujf { gap: 2.2rem; }
.cwl-df00x8 { background: none; padding: 0; color: var(--accent); font-style: italic; }

/* Reading page: italic centred serif h2s, hairline-only tables. */
.cwl-cqtnlr h2 { font-style: italic; text-align: center; font-weight: 500; }
.cwl-cqtnlr th, .cwl-cqtnlr td { border: 0; border-bottom: 1px solid var(--line); }
