/* Julian Jocque: the site's one stylesheet.
   Order: tokens, fonts, base and type, layout, links and buttons, header and footer, components, print.
   Rule of the site: text on yellow (.his) is Julian's own, exactly as written, and nothing else is yellow. */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: light dark;
  --paper: #F8F6F1;      /* Machinist's ticket white */
  --ink: #1A1A17;        /* 16:1 on paper */
  --meta: #5C5A54;       /* 6.6:1 on paper: dates, labels, captions */
  --hairline: #D9D5C8;   /* rules only, never text */
  --note: #FFF4B8;       /* note-yellow ground: Julian's words only */
  --note-ink: #1A1A17;
  --note-rule: #FFE873;  /* 4 px left rule on his words */
  --focus: #1E5EFF;      /* 5:1 on paper; keyboard focus only */
  --frame: #0E0E0C;      /* behind posters, demos and video */

  --font-sans: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Atkinson Hyperlegible Mono", ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;

  --step--1: 0.8125rem;  /* labels, captions, footer (13 px) */
  --step-0: 1.0625rem;   /* body on phones (17 px); 1.125rem from 48rem */
  --step-1: 1.3125rem;   /* lede, h3 */
  --step-2: 1.75rem;     /* h2 */
  --step-3: clamp(2.5rem, 1.5rem + 5vw, 4.5rem); /* h1 */
  --lh: 1.55;

  --s1: 0.25rem; --s2: 0.5rem; --s3: 1rem; --s4: 1.5rem; --s5: 2.5rem; --s6: 4rem; --s7: 6.5rem;
  --measure: 36rem;      /* reading column, about 68 characters */
  --wide: 48rem;         /* figures and lists */
  --page: 72rem;         /* outer limit */
  --margin-col: 16rem;   /* side column for his words on features, from 62rem */
  --gutter: 1rem;        /* 16 px at 390 px */
  --dur: 120ms;
}
@media (min-width: 48rem) { :root { --gutter: 1.5rem; --step-0: 1.125rem; } }
@media (min-width: 75rem) { :root { --gutter: 2.5rem; } }
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141412; --ink: #ECE9E0; --meta: #A8A59B; --hairline: #34322B;
    --note: #2A260F; --note-ink: #FFE873; --note-rule: #FFE873;
    --focus: #8DB4FF; --frame: #000000;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Derived: the space between page sections. */
:root { --section-gap: var(--s6); --tap: 44px; }
@media (min-width: 62rem) { :root { --section-gap: var(--s7); } }

/* ---------- 2. Fonts (self-hosted, SIL Open Font License; licence files sit beside them) ---------- */
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-hyperlegible-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-hyperlegible-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-hyperlegible-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; src: url("../fonts/atkinson-hyperlegible-mono.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

/* ---------- 3. Base and type ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: var(--lh);
  color: var(--ink);
  background: var(--paper);
  font-kerning: normal;
  overflow-wrap: break-word;
}
[hidden] { display: none !important; }
::selection { background: var(--ink); color: var(--paper); }

h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 700; text-wrap: balance; }
h1 { font-size: var(--step-3); line-height: 1.02; letter-spacing: -0.015em; margin: 0 0 var(--s4); }
h2 {
  font-size: var(--step-2); line-height: 1.15;
  margin: var(--section-gap) 0 var(--s3);
  padding-top: var(--s4);
  border-top: 1px solid var(--hairline);
}
h3 { font-size: var(--step-1); line-height: 1.25; margin: var(--s5) 0 var(--s2); }
h4 { font-size: var(--step-0); line-height: 1.3; margin: var(--s4) 0 var(--s2); }

p { margin: 0 0 var(--s3); max-width: var(--measure); text-wrap: pretty; }
ul, ol { margin: 0 0 var(--s3); padding-left: 1.25em; }
ul:not([class]), ol:not([class]) { max-width: var(--measure); }
li > ul, li > ol { margin-bottom: 0; }
dl, dd { margin: 0; }
figure, blockquote { margin: 0; }
hr { border: 0; border-top: 1px solid var(--hairline); margin: var(--s5) 0; }
strong, b { font-weight: 700; }
code, kbd, samp { font-family: var(--font-mono); font-size: 0.9375em; }
kbd { padding: 0 0.3em; border: 1px solid var(--hairline); }
img, video, iframe { max-width: 100%; }
img, video { height: auto; }
table { font-variant-numeric: tabular-nums; }

.lede { font-size: var(--step-1); line-height: 1.45; max-width: var(--measure); margin: 0 0 var(--s4); }

/* Section label above an h2, or a whole h2 set small (h2.kicker). */
.kicker {
  font-family: var(--font-mono); font-weight: 600; font-size: var(--step--1); line-height: 1.4;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--meta);
}
h2.kicker, h3.kicker { margin: 0 0 var(--s3); padding: 0; border: 0; }

/* a. The label line: when · made · state. */
.label {
  font-family: var(--font-mono); font-weight: 400; font-size: var(--step--1); line-height: 1.45;
  color: var(--meta); font-variant-numeric: tabular-nums;
}
p.label { margin: 0 0 var(--s2); }

figcaption, .caption { font-family: var(--font-sans); font-size: 0.875rem; line-height: 1.45; color: var(--meta); }
figcaption { margin-top: var(--s2); max-width: var(--measure); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
:target { scroll-margin-top: var(--s4); }

/* ---------- 4. Layout ---------- */
.wrap { max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }
main { display: block; padding-top: var(--s5); }
main > :first-child { margin-top: 0; }

/* A reading column: every child at most --measure; figures, lists and grids may go to --wide. */
.prose > * { max-width: var(--measure); }
.prose > :is(figure, .figure, .figure-row, .spread, .table-scroll, .entries, .tickets, .cabinet, .rows, .words) { max-width: var(--wide); }
.prose > h2, .prose > .more-work { max-width: none; }

/* Feature spread: main text plus a margin column for his words (side by side from 62rem). */
.spread > * + * { margin-top: var(--s4); }
@media (min-width: 62rem) {
  .spread {
    display: grid;
    grid-template-columns: minmax(0, var(--measure)) minmax(0, var(--margin-col));
    column-gap: var(--s5);
    align-items: start;
  }
  .spread > * + * { margin-top: 0; }
  .spread__main { grid-column: 1; }
  .spread__aside { grid-column: 2; align-self: start; }
}
.spread__main > :last-child, .spread__aside > :last-child { margin-bottom: 0; }
.spread__aside > .note:first-child { margin-top: 0; }

/* Home first screen. Phones: name, lede, short version, notes. From 62rem: two columns. */
.hero { padding-top: var(--s2); }
.hero > h1 { margin-bottom: var(--s4); }
.hero__short { margin: var(--s5) 0; }
@media (min-width: 62rem) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas: "name short" "lede short" "notes short";
    grid-template-rows: auto auto 1fr;
    column-gap: var(--s5);
    padding-top: var(--s4);
  }
  .hero > h1 { grid-area: name; }
  .hero > .lede { grid-area: lede; }
  .hero__notes { grid-area: notes; }
  .hero__short { grid-area: short; margin: 0; padding-top: 0.6rem; }
}
.bookends { display: grid; gap: var(--s4); align-items: start; }
.bookends > .note { margin: 0; }
@media (min-width: 48rem) { .bookends { grid-template-columns: 1fr 1fr; } }
.hero__notes > .caption { margin: var(--s3) 0 0; }

/* ---------- 5. Links, focus, buttons ---------- */
a {
  color: var(--ink);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--dur), text-decoration-thickness var(--dur);
}
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: var(--tap); padding: var(--s2) var(--s3); margin: 0;
  font-family: var(--font-mono); font-weight: 600; font-size: 0.9375rem; line-height: 1.2;
  background: var(--ink); color: var(--paper);
  border: 2px solid var(--ink); border-radius: 0;
  text-decoration: none; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.button:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.button--quiet { background: transparent; color: var(--ink); }
.button[aria-disabled="true"] {
  background: transparent; color: var(--meta); border-color: var(--hairline);
  cursor: not-allowed; text-decoration: none;
}

/* A row of standalone links (sources, stores, "Back to Play"): each one a full tap target. */
.link-row, .short__links {
  display: flex; flex-wrap: wrap; column-gap: var(--s4);
  list-style: none; padding: 0; margin: var(--s2) 0 var(--s3);
}
.link-row a, .short__links a { display: inline-flex; align-items: center; min-height: var(--tap); }
/* One link that closes a section ("Everything playable", "Read them"). */
.see-all { margin: var(--s4) 0 0; }
.see-all a {
  display: inline-flex; align-items: center; min-height: var(--tap);
  font-family: var(--font-mono); font-weight: 600; font-size: 0.9375rem;
}

/* ---------- 6. Skip link, header, navigation, footer ---------- */
.skip {
  position: absolute; left: -100vw; top: var(--s2); z-index: 10;
  padding: var(--s2) var(--s3);
  background: var(--paper); color: var(--ink);
  font-family: var(--font-mono); font-weight: 600; font-size: 0.9375rem;
}
.skip:focus { left: var(--s2); outline: 3px solid var(--focus); outline-offset: 2px; }

.site-header {
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  column-gap: var(--s4);
  padding-block: var(--s4);
}
.site-header::after { /* the hairline spans the content column, not the gutters */
  content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0;
  border-bottom: 1px solid var(--hairline);
}
.site-name {
  display: inline-flex; align-items: center; min-height: var(--tap);
  font-weight: 700; font-size: 1.125rem; line-height: 1.2;
  text-decoration: none;
}
.site-name:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; column-gap: var(--s4); }
.site-nav a {
  display: inline-flex; align-items: center; min-height: var(--tap);
  font-family: var(--font-mono); font-weight: 600; font-size: 0.9375rem; line-height: 1.2;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
@media (max-width: 29.99rem) {
  .site-header { padding-block: var(--s3); }
  .site-nav { flex-basis: 100%; }
}

.site-footer { position: relative; margin-top: var(--s7); padding-block: var(--s5); }
.site-footer::before {
  content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0;
  border-top: 1px solid var(--hairline);
}
.profiles { list-style: none; margin: 0 0 var(--s3); padding: 0; display: flex; flex-wrap: wrap; column-gap: var(--s4); }
.profiles a {
  display: inline-flex; align-items: center; min-height: var(--tap);
  font-family: var(--font-mono); font-weight: 600; font-size: 0.9375rem;
}
.colophon { font-size: var(--step--1); line-height: 1.55; color: var(--meta); max-width: var(--measure); margin: 0; }

/* ---------- 7. Components ---------- */

/* b. His words, block: the yellow slip. c. His words, inline. d. His log. */
.his {
  font-family: var(--font-mono); font-weight: 400;
  color: var(--note-ink); background: var(--note);
  overflow-wrap: anywhere;
}
blockquote.his, ul.his, ol.his, div.his {
  font-size: 0.9375em; line-height: 1.5;
  margin: 0; padding: var(--s3) var(--s4);
  border-left: 4px solid var(--note-rule);
}
blockquote.his > p { margin: 0; max-width: none; }
blockquote.his > p + p { margin-top: var(--s2); }
.his-log { list-style: none; }
.his-log > li + li { margin-top: var(--s1); }
q.his, span.his {
  font-size: 0.9375em; padding: 0 0.2em; border: 0;
  box-shadow: inset 0 -2px var(--note-rule);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.note { margin: var(--s4) 0; max-width: var(--measure); }
.note > figcaption { margin-top: var(--s2); }

/* e. Entry: a row in a Work list. The title link covers the whole row. */
.entries { list-style: none; margin: 0; padding: 0; }
.entry { position: relative; padding-block: var(--s4); border-top: 1px solid var(--hairline); }
.entry__thumb {
  display: block; width: 100%; height: auto; max-height: 12rem;
  aspect-ratio: 16 / 10; object-fit: cover; background: var(--frame);
  margin-bottom: var(--s3);
}
.entry__thumb--contain { object-fit: contain; }
.entry__thumb--line { border: 1px solid var(--hairline); }
.entry__body > :last-child { margin-bottom: 0; }
.entry__title { font-size: var(--step-1); line-height: 1.25; margin: 0 0 var(--s2); }
.entry__title a::after { content: ""; position: absolute; inset: 0; }
.entry:hover .entry__title a { text-decoration-thickness: 2px; }
.entry__title a:focus-visible { outline: none; }
.entry__title a:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (min-width: 48rem) {
  .entry { display: grid; grid-template-columns: 9rem minmax(0, 1fr); column-gap: var(--s4); align-items: start; }
  .entry__thumb { max-height: none; margin-bottom: 0; }
  .entry:not(:has(.entry__thumb)) { grid-template-columns: minmax(0, 1fr); }
}

/* Short piece on the Work page. */
.short { padding-block: var(--s4) var(--s5); border-top: 1px solid var(--hairline); }
.short > h3 { margin-top: 0; }
.short > :last-child { margin-bottom: 0; }

/* f. Figure. Default width is the reading column; --wide, --phone and --line are variants. */
.figure { margin: var(--s4) 0 var(--s5); max-width: var(--measure); }
.figure > img, .figure > video, .figure > a > img { display: block; width: auto; max-width: 100%; height: auto; }
.figure--wide { max-width: var(--wide); }
.figure--phone { max-width: 18rem; }
.figure--line > img { border: 1px solid var(--hairline); }
.figure-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(9rem, 100%), 1fr));
  gap: var(--s4); align-items: start;
  margin: var(--s4) 0 var(--s5); max-width: var(--wide);
}
.figure-row > .figure { margin: 0; }

/* g. Loop video: silent, with controls; site.js plays it while on screen unless motion is reduced. */
.figure > video.loop, video.loop { display: block; width: 100%; height: auto; background: var(--frame); }

/* h. YouTube facade: a plain link until clicked. */
.yt__link { position: relative; display: block; background: var(--frame); color: inherit; text-decoration: none; }
.yt__link > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.yt__play {
  position: absolute; left: 0; bottom: 0; max-width: 100%;
  display: inline-flex; align-items: center; min-height: var(--tap);
  padding: var(--s2) var(--s3);
  background: var(--ink); color: var(--paper);
  font-family: var(--font-mono); font-weight: 600; font-size: 0.875rem; line-height: 1.3;
}
.yt__link:hover .yt__play { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.yt__frame { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; background: var(--frame); }

/* i. Ticket: a playable thing. The only bordered object on the site. */
.tickets {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: var(--s4);
}
.ticket {
  position: relative; display: flex; flex-direction: column;
  border: 2px solid var(--ink); background: var(--paper);
}
.ticket:hover, .ticket:focus-within { outline: 1px solid var(--ink); outline-offset: -3px; } /* reads as a 3 px border, nothing moves */
.ticket__poster {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 9; object-fit: cover; background: var(--frame);
}
.ticket__poster--portrait { object-fit: contain; }
.ticket__body { display: flex; flex-direction: column; flex: 1; padding: var(--s3); }
.ticket__body > p { margin: 0 0 var(--s2); }
.ticket__title { font-size: 1.25rem; line-height: 1.25; margin: 0 0 var(--s2); }
.ticket__title a { text-decoration: none; }
.ticket__title a::after { content: ""; position: absolute; inset: 0; }
.ticket:hover .ticket__title a { text-decoration: underline; text-decoration-thickness: 2px; }
.ticket__title a:focus-visible { outline: none; text-decoration: underline; text-decoration-thickness: 2px; }
.ticket__title a:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 2px; }
.ticket__body > .ticket__input { font-family: var(--font-mono); font-size: var(--step--1); line-height: 1.45; margin: auto 0 0; padding-top: var(--s1); }

/* j. Cabinet: a demo's frame on its play page. Poster and frame share one box, so nothing jumps. */
.cabinet { margin: var(--s4) 0 var(--s5); }
.cabinet__poster, .cabinet__frame {
  display: block; height: auto; border: 0;
  width: min(100%, calc(85vh * var(--ratio, 16 / 9)));
  aspect-ratio: var(--ratio, 16 / 9);
  object-fit: contain; background: var(--frame);
}
.cabinet__actions { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); margin: var(--s3) 0; max-width: none; }
.cabinet > .notice { margin-bottom: 0; }
.cabinet__fallback { margin-top: var(--s3); }

/* k. Facts list. Label beside value when the list is at least 30rem wide, stacked when narrower. */
.facts { container-type: inline-size; max-width: var(--measure); margin: var(--s4) 0; }
.facts > div { padding-block: var(--s2); border-top: 1px solid var(--hairline); }
.facts > div:last-child { border-bottom: 1px solid var(--hairline); }
.facts dt {
  font-family: var(--font-mono); font-weight: 600; font-size: var(--step--1); line-height: 1.4;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--meta);
}
.facts dd { margin: 0; }
.facts dd > p:last-child { margin-bottom: 0; }
.facts dd > .link-row { margin: 0; }
@container (min-width: 30rem) {
  .facts > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); column-gap: var(--s3); align-items: baseline; }
}

/* Tables (always inside .table-scroll). */
.table-scroll { overflow-x: auto; max-width: var(--wide); margin: var(--s4) 0; }
.table-scroll > table { border-collapse: collapse; width: 100%; }
caption { caption-side: top; text-align: left; font-size: 0.875rem; line-height: 1.45; color: var(--meta); padding-bottom: var(--s2); }
th {
  font-family: var(--font-mono); font-weight: 600; font-size: var(--step--1);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--meta); text-align: left;
}
th, td { padding: var(--s2) var(--s4) var(--s2) 0; border-bottom: 1px solid var(--hairline); vertical-align: baseline; }
th:last-child, td:last-child { padding-right: 0; }

/* l. Year list ("Everything else, by year"). */
.year { border-top: 1px solid var(--hairline); padding-top: var(--s3); margin-top: var(--s4); }
.year > h3 { margin: 0 0 var(--s2); font-variant-numeric: tabular-nums; }
.rows { list-style: none; margin: 0; padding: 0; max-width: var(--measure); }
.rows > li { padding-block: var(--s1) var(--s2); }
.rows .label { margin-left: var(--s2); }
.row__note { display: block; }
@media (min-width: 62rem) {
  .year { display: grid; grid-template-columns: 6rem minmax(0, 1fr); column-gap: var(--s4); align-items: baseline; }
  .year > h3 { margin: 0; }
}

/* m. Words row (words.html): when · his words · what it became. */
.words { list-style: none; margin: 0; padding: 0; }
.words-row { padding-block: var(--s4); border-top: 1px solid var(--hairline); }
.words-row__when {
  font-family: var(--font-mono); font-size: var(--step--1); line-height: 1.45; color: var(--meta);
  margin: 0 0 var(--s2);
}
.words-row > .his { max-width: var(--measure); }
.words-row__then { font-size: 0.875rem; line-height: 1.45; margin: var(--s2) 0 0; }
@media (min-width: 62rem) {
  .words-row { display: grid; grid-template-columns: 11rem minmax(0, 1fr) 14rem; column-gap: var(--s4); align-items: start; }
  .words-row__when, .words-row__then { margin: 0; }
  .words-row__when { padding-top: var(--s3); }
  .words-row__then { padding-top: calc(var(--s3) + 1px); }
}
.tick { /* a drawn check box; decorative (aria-hidden), the words carry the meaning */
  display: inline-block; position: relative; flex: none;
  width: 0.9em; height: 0.9em; margin-right: 0.45em; vertical-align: -0.1em;
  border: 2px solid var(--ink);
}
.tick::after {
  content: ""; position: absolute; left: 0.24em; top: 0.02em;
  width: 0.22em; height: 0.46em;
  border: solid var(--ink); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* n. Notice. */
.notice {
  font-family: var(--font-sans); font-size: 0.875rem; line-height: 1.45; color: var(--meta);
  border-left: 2px solid var(--hairline); padding-left: var(--s3); max-width: var(--measure);
}

/* o. More work: closes every feature page. */
.more-work { margin-top: var(--section-gap); padding-top: var(--s4); border-top: 1px solid var(--hairline); }
.more-work ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; column-gap: var(--s4); }
.more-work a, .more-work [aria-current] {
  display: inline-flex; align-items: center; min-height: var(--tap);
  font-family: var(--font-mono); font-weight: 600; font-size: 0.9375rem; line-height: 1.3;
}
.more-work a { text-decoration: none; }
.more-work a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.more-work [aria-current] { color: var(--meta); }

/* ---------- 8. Print ---------- */
@media print {
  :root { --paper: #fff; --ink: #000; --meta: #444; --hairline: #bbb; --note-ink: #000; --note: #FFF4B8; --note-rule: #FFE873; }
  body { font-size: 11pt; }
  .skip, .site-nav, .profiles, .cabinet__actions, .yt__play, video.loop { display: none !important; }
  main a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; overflow-wrap: anywhere; }
  .his, .ticket { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  h2, h3 { break-after: avoid; }
  figure, .entry, .ticket, .short, .words-row { break-inside: avoid; }
}
