/* cheattheshot.com: a quiet reading layout (Medium-like), our brand only in the wordmark and the play button. */
:root {
  --bg: #ffffff;
  --ink: #242424;
  --muted: #6b6b6b;
  --line: #f2f2f2;
  --line2: #e6e6e6;
  --amber: #E8A33D;
  --black: #16130F;
  --red: #C0392B;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: Charter, "Bitstream Charter", "Iowan Old Style", Georgia, Cambria, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; width: 100%; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--black); color: #fff; padding: 8px 14px; border-radius: 4px; z-index: 10; }
.skip:focus { left: 16px; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.draft { color: var(--red); }

/* header and footer */
header.site { border-bottom: 1px solid var(--line); }
.bar { max-width: 1192px; margin: 0 auto; padding: 0 24px; height: 57px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mark { display: inline-flex; align-items: center; text-decoration: none; }
.mark img { height: 30px; width: auto; }
footer.site .mark img { height: 22px; }
header.site nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--ink); }
header.site nav a.pill { color: #fff; background: var(--black); padding: 8px 16px; border-radius: 99px; }
footer.site { margin-top: 96px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer.site .bar { height: auto; padding-top: 24px; padding-bottom: 40px; flex-wrap: wrap; }
footer.site .by { display: inline-flex; align-items: center; gap: 8px; }
footer.site .by a { margin-right: 0; }
footer.site span a { margin-right: 18px; text-decoration: none; }
footer.site span a:hover { color: var(--ink); }

/* reading column */
main { max-width: 728px; margin: 0 auto; padding: 0 24px; }
article { padding-top: 40px; }
article h1 { font: 700 42px/1.2 var(--sans); letter-spacing: -0.016em; margin: 0 0 10px; }
.subtitle { font: 400 22px/1.4 var(--sans); color: var(--muted); margin: 0 0 28px; }
.byline { display: flex; align-items: center; gap: 12px; padding: 0 0 22px; margin-bottom: 30px; border-bottom: 1px solid var(--line); font-size: 14px; }
.byline img { width: 44px; height: 44px; border-radius: 50%; }
.byline .who { color: var(--ink); font-weight: 500; }
.byline .who a, .byline .when a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.byline .when { color: var(--muted); margin-top: 2px; }
.dot { padding: 0 4px; }
article { overflow-wrap: break-word; }
article p, article li { font: 400 20px/1.6 var(--serif); letter-spacing: -0.003em; }
article p { margin: 0 0 1.5em; }
article ul, article ol { padding-left: 28px; margin: 0 0 1.5em; }
article li { margin-bottom: .4em; }
article h2 { font: 700 26px/1.25 var(--sans); letter-spacing: -0.012em; margin: 1.9em 0 .5em; }
article h3 { font: 700 21px/1.3 var(--sans); margin: 1.6em 0 .4em; }
article a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
article blockquote { margin: 0 0 1.5em; padding-left: 20px; border-left: 3px solid var(--ink); }
article blockquote p { font-style: italic; }
article hr { border: 0; text-align: center; margin: 40px 0; }
article hr::before { content: "...";  letter-spacing: .6em; font-size: 28px; color: var(--ink); }
article code { font-size: .85em; background: var(--line); padding: 2px 4px; border-radius: 3px; }
figure { margin: 40px 0; }
figcaption { font: 14px/1.4 var(--sans); color: var(--muted); text-align: center; margin-top: 10px; }
.sources p, .sources li { font: 15px/1.55 var(--sans); color: var(--muted); }
.sources { overflow-wrap: anywhere; }
.sources li:target { background: #fdf3e2; }
sup.cite { font: 600 12px/1 var(--sans); vertical-align: super; color: var(--muted); }
sup.cite a { text-decoration: none; color: var(--muted); }
sup.cite a:hover { color: var(--ink); }
/* tables */
.table { overflow-x: auto; margin: 0 0 1.6em; -webkit-overflow-scrolling: touch; }
.table table { border-collapse: collapse; min-width: 100%; font: 15px/1.45 var(--sans); }
.table th, .table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line2); }
.table th { font-weight: 700; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.meta { font: 14px/1.4 var(--sans); color: var(--muted); }

/* video: our frame, an amber play button, YouTube loads on click */
.video a.yt { position: relative; display: block; background: var(--black); }
.video a.yt img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video a.yt:focus-visible { outline-offset: 4px; }
.video .play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--amber); box-shadow: 0 2px 14px rgba(0,0,0,.35); transition: transform .15s; }
.video .play::after { content: ""; position: absolute; left: 30px; top: 22px; border-style: solid; border-width: 16px 0 16px 25px; border-color: transparent transparent transparent var(--black); }
.video a.yt:hover .play { transform: scale(1.06); }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }

/* home feed */
.intro { padding: 48px 0 16px; border-bottom: 1px solid var(--line); }
.intro h1 { font: 700 42px/1.15 var(--sans); letter-spacing: -0.016em; margin: 0 0 12px; }
.intro p { font: 20px/1.55 var(--serif); color: var(--muted); margin: 0 0 24px; }
.feed { list-style: none; padding: 0; margin: 0; }
.feed li { border-bottom: 1px solid var(--line); }
.feed a { display: flex; gap: 28px; align-items: center; padding: 28px 0; text-decoration: none; color: var(--ink); }
.feed .text { flex: 1; min-width: 0; }
.feed .t { display: block; margin: 0; font: 700 22px/1.3 var(--sans); letter-spacing: -0.01em; }
.feed .d { display: block; font: 16px/1.5 var(--sans); color: var(--muted); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feed .m { display: block; font-size: 13px; color: var(--muted); margin-top: 12px; }
.feed img { width: 160px; aspect-ratio: 16 / 9; object-fit: cover; flex: none; }

/* breadcrumbs, topics */
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { padding: 0 4px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.topics a { font-size: 14px; color: var(--ink); background: var(--line); padding: 6px 14px; border-radius: 99px; text-decoration: none; }
.topics a:hover { background: var(--line2); }
.feed-head { font: 700 14px/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 28px 0 0; }

/* related */
.related { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.related h2 { font: 700 22px/1.3 var(--sans); margin: 0 0 4px; }
.related .feed a { padding: 18px 0; }
.related .feed .t { font-size: 18px; }
.related .feed .d { display: none; }
.related .feed img { width: 120px; }

/* responses */
.responses { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.responses h2 { font: 700 22px/1.3 var(--sans); margin: 0 0 20px; }
.respond { box-shadow: 0 2px 10px rgba(0,0,0,.12); border-radius: 4px; padding: 16px; margin-bottom: 32px; }
.respond:focus-within { box-shadow: 0 0 0 2px var(--black), 0 2px 10px rgba(0,0,0,.12); }
.respond textarea { width: 100%; border: 0; outline: none; resize: vertical; font: 16px/1.5 var(--sans); color: var(--ink); background: transparent; }
.respond .row { display: flex; gap: 12px; margin-top: 12px; }
.respond label { flex: 1; font-size: 13px; color: var(--muted); }
.respond input[name="name"], .respond input[name="email"] { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid #949494; border-radius: 4px; font: 15px var(--sans); color: var(--ink); }
.respond [aria-invalid="true"] { border-color: var(--red); }
.respond .note { font-size: 13px; color: var(--muted); margin: 12px 0 8px; }
.respond .check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.4; color: var(--muted); }
.respond .check input { margin-top: 2px; }
.respond .ts { margin-top: 12px; }
.respond .actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 12px; }
.respond .msg { font-size: 13px; color: var(--muted); flex: 1; }
.respond .msg.err { color: var(--red); }
.respond button { background: var(--black); color: #fff; border: 0; border-radius: 99px; padding: 8px 18px; font: 500 14px var(--sans); cursor: pointer; }
.respond button:disabled { opacity: .5; }
.responses .list { list-style: none; padding: 0; margin: 0; }
.responses .list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.responses .head { display: flex; gap: 10px; align-items: baseline; font-size: 14px; margin-bottom: 8px; }
.responses .head .when { color: var(--muted); font-size: 13px; }
.responses .list p { font: 16px/1.55 var(--sans); margin: 0 0 .7em; white-space: pre-line; }

@media (max-width: 600px) {
  .bar { padding: 0 16px; }
  main { padding: 0 16px; }
  article { padding-top: 28px; }
  article h1, .intro h1 { font-size: 32px; }
  .subtitle { font-size: 19px; }
  article p, article li { font-size: 18px; line-height: 1.58; }
  article h2 { font-size: 22px; }
  .feed a { gap: 16px; padding: 22px 0; align-items: flex-start; }
  .feed .t { font-size: 17px; }
  .feed .d { font-size: 14px; }
  .feed img { width: 92px; }
  .respond .row { flex-direction: column; }
  header.site nav { gap: 14px; }
  header.site nav a.pill .long { display: none; }
  header.site nav a.pill { padding: 7px 12px; }
  .mark img { height: 24px; }
  .table th { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  header.site, footer.site, .responses, .related, .video .play, .skip { display: none !important; }
  body { display: block; }
  article a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 12px; }
}
