@backgold/template-kit 0.0.0-stage → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (349) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +12 -2
  3. package/dist/chunk-RJAVFRC6.js +67 -0
  4. package/dist/constants-BAIo_Q5U.d-lQbj1e1-.d.ts +48 -0
  5. package/dist/content-api-Cox1-wz5.d.ts +1096 -0
  6. package/dist/contract/content-api-examples.d.ts +72 -0
  7. package/dist/contract/content-api-examples.js +926 -0
  8. package/dist/contract/content-api.d.ts +2 -0
  9. package/dist/contract/content-api.js +1 -0
  10. package/dist/contract/site-templates.d.ts +253 -0
  11. package/dist/contract/site-templates.js +185 -0
  12. package/package.json +70 -3
  13. package/src/components/EntryCard.astro +35 -0
  14. package/src/components/EventMap.astro +118 -0
  15. package/src/components/EventPage.astro +194 -0
  16. package/src/components/FieldValue.astro +41 -0
  17. package/src/components/LeadingHero.astro +21 -0
  18. package/src/components/NotFound.astro +20 -0
  19. package/src/components/PageSections.astro +47 -0
  20. package/src/components/Prose.astro +18 -0
  21. package/src/components/chrome/Brand.astro +61 -0
  22. package/src/components/chrome/ClosingCall.astro +94 -0
  23. package/src/components/chrome/DonateStrip.astro +61 -0
  24. package/src/components/chrome/FooterColumns.astro +32 -0
  25. package/src/components/chrome/FooterContact.astro +28 -0
  26. package/src/components/chrome/MenuList.astro +45 -0
  27. package/src/components/chrome/ModeToggle.astro +125 -0
  28. package/src/components/chrome/SignedInNotice.astro +53 -0
  29. package/src/components/chrome/SignupBand.astro +12 -0
  30. package/src/components/chrome/TakeoverBanner.astro +56 -0
  31. package/src/components/chrome/VisitorAccount.astro +82 -0
  32. package/src/components/entries/AuthorBox.astro +47 -0
  33. package/src/components/entries/EntryFields.astro +29 -0
  34. package/src/components/entries/EntryHeader.astro +77 -0
  35. package/src/components/entries/ListFrame.astro +126 -0
  36. package/src/components/entries/ListSearch.astro +24 -0
  37. package/src/components/entries/Share.astro +24 -0
  38. package/src/components/entries/course/classroom.astro +26 -0
  39. package/src/components/entries/course/lesson.astro +18 -0
  40. package/src/components/entries/course/section.ts +20 -0
  41. package/src/components/entries/course/syllabus.astro +15 -0
  42. package/src/components/entries/index.ts +77 -0
  43. package/src/components/entries/newsletter/issue.astro +41 -0
  44. package/src/components/entries/newsletter/list.astro +26 -0
  45. package/src/components/entries/podcast/episode.astro +42 -0
  46. package/src/components/entries/podcast/list.astro +36 -0
  47. package/src/components/entries/post/article.astro +31 -0
  48. package/src/components/entries/post/list.astro +85 -0
  49. package/src/components/entries/props.ts +61 -0
  50. package/src/components/entries/video/cards.astro +39 -0
  51. package/src/components/entries/video/grid.astro +15 -0
  52. package/src/components/entries/video/watch.astro +41 -0
  53. package/src/components/live/LivePage.astro +215 -0
  54. package/src/components/live/LocalTime.astro +29 -0
  55. package/src/components/sections/About/books.astro +188 -0
  56. package/src/components/sections/About/credentials.ts +80 -0
  57. package/src/components/sections/About/index.astro +60 -0
  58. package/src/components/sections/About/left.astro +57 -0
  59. package/src/components/sections/About/letter.astro +111 -0
  60. package/src/components/sections/About/portrait.astro +308 -0
  61. package/src/components/sections/Advocacy/compact.astro +14 -0
  62. package/src/components/sections/Advocacy/index.astro +14 -0
  63. package/src/components/sections/Band.astro +39 -0
  64. package/src/components/sections/Blog/feature.astro +176 -0
  65. package/src/components/sections/Blog/index.astro +37 -0
  66. package/src/components/sections/Blog/latest.ts +80 -0
  67. package/src/components/sections/Blog/list.astro +186 -0
  68. package/src/components/sections/Booking/index.astro +139 -0
  69. package/src/components/sections/Booking/list.astro +144 -0
  70. package/src/components/sections/Booking/types.ts +60 -0
  71. package/src/components/sections/Calendar/agenda.astro +14 -0
  72. package/src/components/sections/Calendar/index.astro +14 -0
  73. package/src/components/sections/CandidateRoster/ballot.astro +394 -0
  74. package/src/components/sections/CandidateRoster/candidates.ts +69 -0
  75. package/src/components/sections/CandidateRoster/compact.astro +115 -0
  76. package/src/components/sections/CandidateRoster/index.astro +57 -0
  77. package/src/components/sections/CaseStudies/beforeafter.astro +222 -0
  78. package/src/components/sections/CaseStudies/cases.ts +111 -0
  79. package/src/components/sections/CaseStudies/grid.astro +261 -0
  80. package/src/components/sections/CaseStudies/index.astro +333 -0
  81. package/src/components/sections/Classroom/CourseCard.astro +181 -0
  82. package/src/components/sections/Classroom/Courses.astro +88 -0
  83. package/src/components/sections/Classroom/classroom.ts +141 -0
  84. package/src/components/sections/Classroom/index.astro +20 -0
  85. package/src/components/sections/Classroom/list.astro +15 -0
  86. package/src/components/sections/Collection/compact.astro +7 -0
  87. package/src/components/sections/Collection/entries.ts +62 -0
  88. package/src/components/sections/Collection/feature.astro +180 -0
  89. package/src/components/sections/Collection/index.astro +46 -0
  90. package/src/components/sections/Collection/library.astro +271 -0
  91. package/src/components/sections/Collection/list.astro +7 -0
  92. package/src/components/sections/Collection/outline.astro +134 -0
  93. package/src/components/sections/Collection/shelves.astro +191 -0
  94. package/src/components/sections/Comparison/Unlisted.astro +6 -0
  95. package/src/components/sections/Comparison/cards.astro +171 -0
  96. package/src/components/sections/Comparison/index.astro +191 -0
  97. package/src/components/sections/Comparison/sides.ts +98 -0
  98. package/src/components/sections/Comparison/spectrum.astro +261 -0
  99. package/src/components/sections/ContentPost/banner.astro +152 -0
  100. package/src/components/sections/ContentPost/index.astro +35 -0
  101. package/src/components/sections/ContentPost/lesson.ts +126 -0
  102. package/src/components/sections/ContentPost/player.astro +254 -0
  103. package/src/components/sections/ContentPost/prose.astro +80 -0
  104. package/src/components/sections/ContentPost/theater.astro +329 -0
  105. package/src/components/sections/Countdown/index.astro +53 -0
  106. package/src/components/sections/Course/Bar.astro +46 -0
  107. package/src/components/sections/Course/CourseHead.astro +123 -0
  108. package/src/components/sections/Course/Crumbs.astro +44 -0
  109. package/src/components/sections/Course/Icon.astro +29 -0
  110. package/src/components/sections/Course/Ring.astro +62 -0
  111. package/src/components/sections/Course/Syllabus.astro +146 -0
  112. package/src/components/sections/Course/course.ts +146 -0
  113. package/src/components/sections/Course/index.astro +143 -0
  114. package/src/components/sections/Course/outline.astro +39 -0
  115. package/src/components/sections/Cta/banner.astro +64 -0
  116. package/src/components/sections/Cta/card.astro +88 -0
  117. package/src/components/sections/Cta/index.astro +31 -0
  118. package/src/components/sections/Cta/photo.astro +114 -0
  119. package/src/components/sections/Cta/strip.astro +91 -0
  120. package/src/components/sections/Donate/index.astro +136 -0
  121. package/src/components/sections/Donate/story.astro +7 -0
  122. package/src/components/sections/Event/card.astro +14 -0
  123. package/src/components/sections/Event/index.astro +14 -0
  124. package/src/components/sections/EventsList/AgendaMonths.astro +105 -0
  125. package/src/components/sections/EventsList/CalendarLine.astro +23 -0
  126. package/src/components/sections/EventsList/EventRows.astro +196 -0
  127. package/src/components/sections/EventsList/LiveCounts.astro +75 -0
  128. package/src/components/sections/EventsList/TypeTabs.astro +53 -0
  129. package/src/components/sections/EventsList/agenda.astro +55 -0
  130. package/src/components/sections/EventsList/calendar.astro +392 -0
  131. package/src/components/sections/EventsList/cards.astro +186 -0
  132. package/src/components/sections/EventsList/cohorts.astro +205 -0
  133. package/src/components/sections/EventsList/compact.astro +163 -0
  134. package/src/components/sections/EventsList/events.ts +168 -0
  135. package/src/components/sections/EventsList/index.astro +46 -0
  136. package/src/components/sections/EventsList/map.astro +436 -0
  137. package/src/components/sections/EventsList/shifts.astro +355 -0
  138. package/src/components/sections/EventsList/week.astro +361 -0
  139. package/src/components/sections/Faq/Contact.astro +63 -0
  140. package/src/components/sections/Faq/Questions.astro +98 -0
  141. package/src/components/sections/Faq/cards.astro +74 -0
  142. package/src/components/sections/Faq/faq.ts +101 -0
  143. package/src/components/sections/Faq/index.astro +49 -0
  144. package/src/components/sections/Faq/topics.astro +178 -0
  145. package/src/components/sections/Financials/Foot.astro +38 -0
  146. package/src/components/sections/Financials/Head.astro +47 -0
  147. package/src/components/sections/Financials/donut.astro +197 -0
  148. package/src/components/sections/Financials/financials.ts +52 -0
  149. package/src/components/sections/Financials/index.astro +148 -0
  150. package/src/components/sections/Financials/table.astro +157 -0
  151. package/src/components/sections/FormBlock/index.astro +33 -0
  152. package/src/components/sections/FormBlock/wide.astro +7 -0
  153. package/src/components/sections/Hero/cover.astro +176 -0
  154. package/src/components/sections/Hero/donate.astro +209 -0
  155. package/src/components/sections/Hero/field.astro +390 -0
  156. package/src/components/sections/Hero/index.astro +52 -0
  157. package/src/components/sections/Hero/overlap.astro +151 -0
  158. package/src/components/sections/Hero/rotating.astro +30 -0
  159. package/src/components/sections/Hero/split.astro +99 -0
  160. package/src/components/sections/Hero/statement.astro +55 -0
  161. package/src/components/sections/Hero/video.astro +399 -0
  162. package/src/components/sections/Issues/checklist.astro +204 -0
  163. package/src/components/sections/Issues/drawer.astro +237 -0
  164. package/src/components/sections/Issues/index.astro +115 -0
  165. package/src/components/sections/Issues/issues.ts +37 -0
  166. package/src/components/sections/Issues/numbered.astro +79 -0
  167. package/src/components/sections/Issues/rows.astro +137 -0
  168. package/src/components/sections/Issues/steps.astro +81 -0
  169. package/src/components/sections/Issues/tabs.astro +322 -0
  170. package/src/components/sections/Leaderboard/index.astro +29 -0
  171. package/src/components/sections/Lesson/Door.astro +121 -0
  172. package/src/components/sections/Lesson/LessonBody.astro +416 -0
  173. package/src/components/sections/Lesson/Rail.astro +182 -0
  174. package/src/components/sections/Lesson/Tracker.astro +137 -0
  175. package/src/components/sections/Lesson/index.astro +27 -0
  176. package/src/components/sections/Lesson/lesson.ts +233 -0
  177. package/src/components/sections/Lesson/reading.astro +21 -0
  178. package/src/components/sections/Map/CoverageLine.astro +19 -0
  179. package/src/components/sections/Map/RegionMap.astro +109 -0
  180. package/src/components/sections/Map/bar.astro +160 -0
  181. package/src/components/sections/Map/index.astro +192 -0
  182. package/src/components/sections/Map/map.astro +275 -0
  183. package/src/components/sections/MediaKit/BioCard.astro +108 -0
  184. package/src/components/sections/MediaKit/Downloads.astro +88 -0
  185. package/src/components/sections/MediaKit/index.astro +183 -0
  186. package/src/components/sections/MediaKit/kit.ts +140 -0
  187. package/src/components/sections/MediaKit/press.astro +189 -0
  188. package/src/components/sections/MediaKit/speaker.astro +205 -0
  189. package/src/components/sections/Membership/Benefits.astro +42 -0
  190. package/src/components/sections/Membership/Check.astro +12 -0
  191. package/src/components/sections/Membership/Price.astro +61 -0
  192. package/src/components/sections/Membership/compare.astro +312 -0
  193. package/src/components/sections/Membership/index.astro +281 -0
  194. package/src/components/sections/Membership/offers.ts +169 -0
  195. package/src/components/sections/Membership/tiers.astro +217 -0
  196. package/src/components/sections/MovementMap/index.astro +50 -0
  197. package/src/components/sections/MovementTicker/index.astro +43 -0
  198. package/src/components/sections/Pathways/Doors.astro +147 -0
  199. package/src/components/sections/Pathways/Head.astro +37 -0
  200. package/src/components/sections/Pathways/index.astro +27 -0
  201. package/src/components/sections/Pathways/pathways.ts +100 -0
  202. package/src/components/sections/Pathways/quiz.astro +286 -0
  203. package/src/components/sections/Pathways/tabs.astro +271 -0
  204. package/src/components/sections/PdfEmbed/card.astro +99 -0
  205. package/src/components/sections/PdfEmbed/index.astro +26 -0
  206. package/src/components/sections/PdfEmbed/medium.astro +7 -0
  207. package/src/components/sections/PdfEmbed/tall.astro +7 -0
  208. package/src/components/sections/Petition/coverage.astro +14 -0
  209. package/src/components/sections/Petition/image.astro +14 -0
  210. package/src/components/sections/Petition/index.astro +14 -0
  211. package/src/components/sections/Petition/map.astro +14 -0
  212. package/src/components/sections/PlatformPlanks/anchors.ts +66 -0
  213. package/src/components/sections/PlatformPlanks/columns.astro +171 -0
  214. package/src/components/sections/PlatformPlanks/index.astro +56 -0
  215. package/src/components/sections/PlatformPlanks/longread.astro +250 -0
  216. package/src/components/sections/PollBlock/index.astro +30 -0
  217. package/src/components/sections/Portfolio/featured.astro +343 -0
  218. package/src/components/sections/Portfolio/index.astro +571 -0
  219. package/src/components/sections/Portfolio/strip.astro +173 -0
  220. package/src/components/sections/Portfolio/work.ts +100 -0
  221. package/src/components/sections/Progress/MatchClock.astro +166 -0
  222. package/src/components/sections/Progress/compact.astro +150 -0
  223. package/src/components/sections/Progress/index.astro +32 -0
  224. package/src/components/sections/Progress/match.astro +126 -0
  225. package/src/components/sections/Progress/ring.astro +179 -0
  226. package/src/components/sections/QuickDonate/DonateCard.astro +149 -0
  227. package/src/components/sections/QuickDonate/Picker.astro +95 -0
  228. package/src/components/sections/QuickDonate/band.astro +164 -0
  229. package/src/components/sections/QuickDonate/bar.astro +208 -0
  230. package/src/components/sections/QuickDonate/donate.ts +126 -0
  231. package/src/components/sections/QuickDonate/hero.astro +143 -0
  232. package/src/components/sections/QuickDonate/index.astro +73 -0
  233. package/src/components/sections/QuickDonate/jar.astro +225 -0
  234. package/src/components/sections/QuickDonate/ladder.astro +248 -0
  235. package/src/components/sections/QuoteStrip/carousel.astro +340 -0
  236. package/src/components/sections/QuoteStrip/index.astro +58 -0
  237. package/src/components/sections/QuoteStrip/logos.astro +226 -0
  238. package/src/components/sections/QuoteStrip/quotes.ts +61 -0
  239. package/src/components/sections/QuoteStrip/single.astro +92 -0
  240. package/src/components/sections/QuoteStrip/ticker.astro +319 -0
  241. package/src/components/sections/QuoteStrip/wall.astro +113 -0
  242. package/src/components/sections/Resources/band.astro +93 -0
  243. package/src/components/sections/Resources/featured.astro +239 -0
  244. package/src/components/sections/Resources/index.astro +225 -0
  245. package/src/components/sections/Resources/resources.ts +92 -0
  246. package/src/components/sections/SampleBallot/Position.astro +39 -0
  247. package/src/components/sections/SampleBallot/ballot.ts +92 -0
  248. package/src/components/sections/SampleBallot/cards.astro +299 -0
  249. package/src/components/sections/SampleBallot/index.astro +326 -0
  250. package/src/components/sections/SampleBallot/measures.astro +172 -0
  251. package/src/components/sections/Scorecard/grades.astro +141 -0
  252. package/src/components/sections/Scorecard/index.astro +294 -0
  253. package/src/components/sections/Scorecard/promise.astro +167 -0
  254. package/src/components/sections/Scorecard/votes.ts +83 -0
  255. package/src/components/sections/SectionHead.astro +31 -0
  256. package/src/components/sections/Services/Button.astro +24 -0
  257. package/src/components/sections/Services/Check.astro +12 -0
  258. package/src/components/sections/Services/Includes.astro +42 -0
  259. package/src/components/sections/Services/compare.astro +328 -0
  260. package/src/components/sections/Services/index.astro +187 -0
  261. package/src/components/sections/Services/list.astro +181 -0
  262. package/src/components/sections/Services/services.ts +80 -0
  263. package/src/components/sections/ShareKit/Actions.astro +71 -0
  264. package/src/components/sections/ShareKit/Buttons.astro +62 -0
  265. package/src/components/sections/ShareKit/compact.astro +123 -0
  266. package/src/components/sections/ShareKit/index.astro +160 -0
  267. package/src/components/sections/ShareKit/share.ts +60 -0
  268. package/src/components/sections/ShareKit/strip.astro +173 -0
  269. package/src/components/sections/SignupCapture/band.astro +7 -0
  270. package/src/components/sections/SignupCapture/index.astro +103 -0
  271. package/src/components/sections/SignupCapture/inline.astro +7 -0
  272. package/src/components/sections/SocialFeed/index.astro +34 -0
  273. package/src/components/sections/StatCards/feature.astro +143 -0
  274. package/src/components/sections/StatCards/index.astro +51 -0
  275. package/src/components/sections/StatCards/ribbon.astro +113 -0
  276. package/src/components/sections/StatCards/wall.astro +177 -0
  277. package/src/components/sections/Store/featured.astro +14 -0
  278. package/src/components/sections/Store/index.astro +14 -0
  279. package/src/components/sections/Stories/Status.astro +42 -0
  280. package/src/components/sections/Stories/StoryCards.astro +171 -0
  281. package/src/components/sections/Stories/cards.astro +42 -0
  282. package/src/components/sections/Stories/index.astro +238 -0
  283. package/src/components/sections/Stories/stories.ts +97 -0
  284. package/src/components/sections/Stories/timeline.astro +135 -0
  285. package/src/components/sections/TeamGrid/board.astro +280 -0
  286. package/src/components/sections/TeamGrid/index.astro +71 -0
  287. package/src/components/sections/TeamGrid/list.astro +306 -0
  288. package/src/components/sections/TeamGrid/people.ts +178 -0
  289. package/src/components/sections/VideoEmbed/index.astro +52 -0
  290. package/src/components/sections/VideoEmbed/landscape.astro +7 -0
  291. package/src/components/sections/VideoEmbed/portrait.astro +7 -0
  292. package/src/components/sections/VideoEmbed/square.astro +7 -0
  293. package/src/components/sections/VoterTools/DaysLeft.astro +33 -0
  294. package/src/components/sections/VoterTools/Lookup.astro +43 -0
  295. package/src/components/sections/VoterTools/dates.astro +153 -0
  296. package/src/components/sections/VoterTools/index.astro +231 -0
  297. package/src/components/sections/VoterTools/polling.astro +144 -0
  298. package/src/components/sections/VoterTools/voter-tools.ts +71 -0
  299. package/src/components/sections/index.ts +373 -0
  300. package/src/components/sections/modules/Headed.astro +39 -0
  301. package/src/components/sections/modules/ModuleFrame.astro +181 -0
  302. package/src/components/store/CollectionPage.astro +40 -0
  303. package/src/components/store/ProductCard.astro +32 -0
  304. package/src/components/store/ProductGrid.astro +16 -0
  305. package/src/components/store/ProductPage.astro +146 -0
  306. package/src/components/store/StorePage.astro +137 -0
  307. package/src/components/store/StoreScript.astro +572 -0
  308. package/src/components/volunteer/ShiftLive.astro +90 -0
  309. package/src/components/volunteer/detail.astro +247 -0
  310. package/src/components/volunteer/list.astro +298 -0
  311. package/src/components/volunteer/props.ts +21 -0
  312. package/src/env.d.ts +22 -0
  313. package/src/index.d.ts +10 -0
  314. package/src/index.js +63 -0
  315. package/src/layouts/Site.astro +387 -0
  316. package/src/lib/academy.ts +146 -0
  317. package/src/lib/brand.ts +534 -0
  318. package/src/lib/chrome.ts +121 -0
  319. package/src/lib/donate-frame.ts +104 -0
  320. package/src/lib/entries.ts +190 -0
  321. package/src/lib/env.ts +34 -0
  322. package/src/lib/event-map-draw.ts +91 -0
  323. package/src/lib/events.ts +476 -0
  324. package/src/lib/fonts.ts +116 -0
  325. package/src/lib/footer.ts +24 -0
  326. package/src/lib/format.ts +160 -0
  327. package/src/lib/geo.ts +131 -0
  328. package/src/lib/live.ts +55 -0
  329. package/src/lib/menu.ts +48 -0
  330. package/src/lib/petition-text.ts +29 -0
  331. package/src/lib/reading.ts +17 -0
  332. package/src/lib/regions.ts +215 -0
  333. package/src/lib/section.ts +105 -0
  334. package/src/lib/shifts.ts +187 -0
  335. package/src/lib/store.ts +521 -0
  336. package/src/lib/stream-time.ts +20 -0
  337. package/src/lib/stream.ts +141 -0
  338. package/src/lib/visitor.ts +54 -0
  339. package/src/routes/catch-all.astro +435 -0
  340. package/src/routes/form.astro +30 -0
  341. package/src/routes/live.astro +49 -0
  342. package/src/routes/not-found.astro +18 -0
  343. package/src/routes/preview.astro +60 -0
  344. package/src/routes/setup.astro +62 -0
  345. package/src/routes/volunteer-shift.astro +61 -0
  346. package/src/styles/entries.css +784 -0
  347. package/src/styles/site.css +1910 -0
  348. package/src/styles/store.css +634 -0
  349. package/src/template.ts +182 -0
@@ -0,0 +1,784 @@
1
+ /*
2
+ The entry and list layouts (src/components/entries). Like site.css, this
3
+ reads only the template's sizes and the colour names the brand and the
4
+ bands set (--ink, --muted, --link, --button, --button-ink, --page,
5
+ --band-*, --bg-brand-*); it has no colour of its own.
6
+ */
7
+
8
+ /* ── An entry's header (C11) ── */
9
+
10
+ /* The breadcrumb: the list as a bold link, a chevron, the category. Scoped to the entry header; an event page draws its own. */
11
+ .entry-header .crumbs {
12
+ display: flex;
13
+ flex-wrap: wrap;
14
+ gap: 0.5rem;
15
+ margin-bottom: 1.125rem;
16
+ color: var(--muted);
17
+ font-size: 0.8125rem;
18
+ }
19
+ .entry-header .crumbs a {
20
+ color: var(--link);
21
+ font-weight: 700;
22
+ text-decoration: underline;
23
+ text-underline-offset: 3px;
24
+ }
25
+ .entry-terms {
26
+ display: flex;
27
+ flex-wrap: wrap;
28
+ gap: 0.5rem;
29
+ margin: 0 0 1rem;
30
+ padding: 0;
31
+ list-style: none;
32
+ }
33
+ .entry-terms .chip {
34
+ text-decoration: none;
35
+ }
36
+ .entry-terms .chip:hover {
37
+ text-decoration: underline;
38
+ }
39
+ .entry-header {
40
+ margin-bottom: 1.75rem;
41
+ }
42
+ .entry-header h1 {
43
+ text-wrap: balance;
44
+ }
45
+ .entry-header .lede {
46
+ margin-bottom: 1.25rem;
47
+ }
48
+ .byline {
49
+ display: flex;
50
+ align-items: center;
51
+ gap: 0.625rem;
52
+ }
53
+ .byline p {
54
+ margin: 0;
55
+ }
56
+ .byline a {
57
+ color: var(--ink);
58
+ font-weight: 600;
59
+ text-decoration: none;
60
+ }
61
+ .byline a:hover {
62
+ text-decoration: underline;
63
+ }
64
+ /* A person with no picture: their initials on the brand's primary-to-accent disc (C10, C11). */
65
+ .byline-avatar,
66
+ .author-box-avatar,
67
+ .post-avatar {
68
+ flex-shrink: 0;
69
+ display: inline-grid;
70
+ place-items: center;
71
+ width: 1.875rem;
72
+ height: 1.875rem;
73
+ border-radius: 50%;
74
+ object-fit: cover;
75
+ background: linear-gradient(150deg, var(--bg-brand-primary), var(--bg-brand-accent));
76
+ color: var(--band-photo-ink);
77
+ font-family: var(--font-display);
78
+ font-weight: 600;
79
+ font-size: var(--text-xs);
80
+ }
81
+
82
+ /* ── Post: the reading column (board A5) ── */
83
+
84
+ .entry-article,
85
+ .entry-episode,
86
+ .entry-issue {
87
+ --measure: 36em;
88
+ }
89
+ .entry-article .entry-body,
90
+ .entry-issue .entry-body {
91
+ font-family: var(--font-display);
92
+ font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
93
+ line-height: 1.7;
94
+ }
95
+ .entry-article .entry-body > p:first-child::first-letter {
96
+ float: left;
97
+ margin: 0.08em 0.12em 0 0;
98
+ color: var(--link);
99
+ font-size: 3.4em;
100
+ font-weight: 800;
101
+ line-height: 0.8;
102
+ }
103
+ .entry-cover {
104
+ display: block;
105
+ width: 100%;
106
+ margin: 1.75rem 0 2rem;
107
+ border-radius: var(--radius);
108
+ }
109
+ .entry-media-link {
110
+ font-weight: 600;
111
+ }
112
+
113
+ /* The reading bar: a thin line along the top of the window as the entry scrolls, where the browser can drive it from the scroll. */
114
+ @supports (animation-timeline: scroll()) {
115
+ @media (prefers-reduced-motion: no-preference) {
116
+ .entry-article::before {
117
+ content: '';
118
+ position: fixed;
119
+ z-index: 30;
120
+ inset: 0 0 auto;
121
+ height: 3px;
122
+ background: var(--bg-brand-accent);
123
+ transform-origin: 0 50%;
124
+ animation: entry-reading linear both;
125
+ animation-timeline: scroll(root);
126
+ }
127
+ }
128
+ }
129
+ @keyframes entry-reading {
130
+ from {
131
+ transform: scaleX(0);
132
+ }
133
+ to {
134
+ transform: scaleX(1);
135
+ }
136
+ }
137
+
138
+ /* ── Share and the author ── */
139
+
140
+ .share {
141
+ display: flex;
142
+ flex-wrap: wrap;
143
+ align-items: center;
144
+ gap: 0.5rem 0.75rem;
145
+ margin: 2.5rem 0 0;
146
+ padding-top: 1.25rem;
147
+ border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
148
+ }
149
+ .share-label {
150
+ margin-right: 0.25rem;
151
+ color: var(--muted);
152
+ font-size: var(--text-sm);
153
+ font-weight: 700;
154
+ }
155
+ .share-link {
156
+ padding: 0.375rem 0.875rem;
157
+ border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
158
+ border-radius: var(--pill);
159
+ background: transparent;
160
+ color: var(--ink);
161
+ font-size: var(--text-sm);
162
+ font-weight: 600;
163
+ text-decoration: none;
164
+ }
165
+ .share-link:hover {
166
+ border-color: var(--ink);
167
+ }
168
+ /* Who wrote it (C11): a box on the tint, the large disc, the role as a kicker, the name as a heading, the bio. */
169
+ .author-boxes {
170
+ display: grid;
171
+ gap: 1rem;
172
+ margin-top: 1.75rem;
173
+ }
174
+ .author-box {
175
+ display: flex;
176
+ gap: 1rem;
177
+ align-items: flex-start;
178
+ padding: 1.125rem 1.25rem;
179
+ border-radius: var(--radius-card);
180
+ background: var(--band-tint);
181
+ color: var(--band-tint-ink);
182
+ }
183
+ .author-box .author-box-avatar {
184
+ width: 3.5rem;
185
+ height: 3.5rem;
186
+ font-size: 1.25rem;
187
+ }
188
+ .author-box p,
189
+ .author-box .prose {
190
+ margin: 0;
191
+ }
192
+ .author-box .author-box-role {
193
+ margin-bottom: 0.125rem;
194
+ color: var(--band-tint-accent);
195
+ }
196
+ .author-box-name {
197
+ font-family: var(--font-display);
198
+ font-size: 1.5rem;
199
+ font-weight: 700;
200
+ line-height: 1.1;
201
+ }
202
+ .author-box-name a {
203
+ color: inherit;
204
+ text-decoration: none;
205
+ }
206
+ .author-box-name a:hover {
207
+ text-decoration: underline;
208
+ }
209
+ .author-box .author-box-bio,
210
+ .author-box .muted {
211
+ margin-top: 0.375rem;
212
+ color: var(--band-tint-muted);
213
+ font-size: 0.9375rem;
214
+ }
215
+ .author-box-link {
216
+ margin-top: 0.5rem;
217
+ font-size: var(--text-sm);
218
+ font-weight: 700;
219
+ }
220
+ .author-box-link a {
221
+ color: var(--band-tint-link);
222
+ }
223
+
224
+ /* ── Podcast: the episode ── */
225
+
226
+ .episode-player {
227
+ display: flex;
228
+ flex-wrap: wrap;
229
+ align-items: center;
230
+ gap: 1rem 1.5rem;
231
+ margin: 1.75rem 0 2rem;
232
+ padding: 1.25rem;
233
+ border-radius: var(--radius);
234
+ background: var(--band-panel);
235
+ color: var(--band-panel-ink);
236
+ }
237
+ .episode-art {
238
+ width: 7.5rem;
239
+ height: 7.5rem;
240
+ border-radius: calc(var(--radius) / 1.5);
241
+ object-fit: cover;
242
+ }
243
+ .episode-player audio {
244
+ flex: 1 1 16rem;
245
+ min-width: 0;
246
+ width: 100%;
247
+ }
248
+ .episode-player .empty {
249
+ margin: 0;
250
+ color: var(--band-panel-muted);
251
+ }
252
+ .show-notes h2 {
253
+ font-size: var(--h3);
254
+ }
255
+
256
+ /* ── Video: watch ── */
257
+
258
+ .entry.entry-watch {
259
+ max-width: calc(var(--content) + 2 * var(--gutter));
260
+ }
261
+ .watch-frame {
262
+ position: relative;
263
+ aspect-ratio: 16 / 9;
264
+ margin-bottom: 2rem;
265
+ overflow: hidden;
266
+ border-radius: var(--radius);
267
+ background: var(--band-contrast);
268
+ color: var(--band-contrast-ink);
269
+ }
270
+ .watch-frame iframe,
271
+ .watch-frame video {
272
+ display: block;
273
+ width: 100%;
274
+ height: 100%;
275
+ border: 0;
276
+ }
277
+ .watch-missing {
278
+ position: absolute;
279
+ inset: 0;
280
+ display: grid;
281
+ place-items: center;
282
+ margin: 0;
283
+ padding: 1rem;
284
+ text-align: center;
285
+ }
286
+ .watch-text {
287
+ max-width: var(--measure);
288
+ }
289
+
290
+ /* ── Newsletter: the issue's closing call ── */
291
+
292
+ .issue-next {
293
+ margin-top: 2.5rem;
294
+ padding: 1.5rem;
295
+ border-radius: var(--radius);
296
+ background: var(--bg-band-background);
297
+ color: var(--ink);
298
+ }
299
+ .issue-next h2 {
300
+ font-size: var(--h3);
301
+ }
302
+ .issue-next p {
303
+ margin-bottom: 0.5rem;
304
+ }
305
+ .issue-next .actions {
306
+ margin-top: 1rem;
307
+ }
308
+
309
+ /* ── Lists ── */
310
+
311
+ /*
312
+ The list's head: its name, or the intro's opening Hero as the Hero draws
313
+ it (board A4's "From the party"), then the intro's other sections. A
314
+ template that puts the news search beside the head (`newsSearch: 'head'`,
315
+ board C10) gets it on the head's last line, under it on a phone.
316
+ */
317
+ .list-head {
318
+ display: flex;
319
+ flex-wrap: wrap;
320
+ align-items: flex-end;
321
+ gap: 1.125rem 1.75rem;
322
+ }
323
+ .list-head-words {
324
+ flex: 1 1 20rem;
325
+ min-width: 0;
326
+ }
327
+ /* The intro's sections are drawn inside the list's own column: no second gutter. */
328
+ .list-intro .bg-section,
329
+ .list-head .bg-section {
330
+ padding-inline: 0;
331
+ }
332
+ .list-header,
333
+ .list-intro {
334
+ margin-bottom: 1.5rem;
335
+ }
336
+ .list-header .kicker a {
337
+ color: inherit;
338
+ text-decoration: none;
339
+ }
340
+ /* The filter row (A4): the chips, a short rule and the featured category's link, and on the news list the search at the row's end. */
341
+ .list-bar {
342
+ display: flex;
343
+ flex-wrap: wrap;
344
+ align-items: center;
345
+ gap: 0.75rem 0.875rem;
346
+ margin-bottom: 1.5rem;
347
+ }
348
+ .list-filter {
349
+ display: flex;
350
+ flex-wrap: wrap;
351
+ align-items: center;
352
+ gap: 0.5rem 0.625rem;
353
+ }
354
+ .list-filter ul {
355
+ display: flex;
356
+ flex-wrap: wrap;
357
+ gap: 0.5rem;
358
+ margin: 0;
359
+ padding: 0;
360
+ list-style: none;
361
+ }
362
+ .list-filter li a {
363
+ display: inline-block;
364
+ padding: 0.4375rem 0.875rem;
365
+ border: 1.5px solid var(--line-strong);
366
+ border-radius: var(--pill);
367
+ color: var(--ink);
368
+ font-size: var(--text-sm);
369
+ font-weight: 600;
370
+ text-decoration: none;
371
+ }
372
+ .list-filter li a:hover {
373
+ border-color: var(--ink);
374
+ }
375
+ .list-filter li a[aria-current='page'] {
376
+ border-color: var(--button);
377
+ background: var(--button);
378
+ color: var(--button-ink);
379
+ }
380
+ .list-featured {
381
+ display: inline-flex;
382
+ align-items: center;
383
+ gap: 0.375rem;
384
+ color: var(--link);
385
+ font-size: var(--text-sm);
386
+ font-weight: 700;
387
+ text-decoration: underline;
388
+ text-decoration-thickness: 1.5px;
389
+ text-underline-offset: 4px;
390
+ }
391
+ .list-featured[aria-current='page'] {
392
+ text-decoration-thickness: 3px;
393
+ }
394
+ .list-filter ul + .list-featured::before {
395
+ content: '';
396
+ align-self: stretch;
397
+ width: 1.5px;
398
+ min-height: 1.625rem;
399
+ margin: 0 0.375rem 0 0.25rem;
400
+ background: var(--line-strong);
401
+ }
402
+ @media (max-width: 47.5rem) {
403
+ .list-filter ul + .list-featured::before {
404
+ display: none;
405
+ }
406
+ }
407
+ /* The news search: a pill, the magnifier at its start, at the end of its row: the filter row's (A4; on its own line, at the end, when the chips fill the row) or the head's (C10). */
408
+ .list-search {
409
+ display: flex;
410
+ flex: 0 1 16.25rem;
411
+ align-items: center;
412
+ min-width: 12.5rem;
413
+ margin: 0 0 0 auto;
414
+ border: 1.5px solid var(--line-strong);
415
+ border-radius: var(--pill);
416
+ background: var(--surface);
417
+ }
418
+ .list-search:focus-within {
419
+ border-color: var(--ink);
420
+ }
421
+ .list-search input {
422
+ flex: 1;
423
+ min-width: 0;
424
+ min-height: 2.625rem;
425
+ padding: 0.5rem 1rem 0.5rem 0;
426
+ border: 0;
427
+ background: transparent;
428
+ color: var(--ink);
429
+ font: inherit;
430
+ font-size: 0.9375rem;
431
+ }
432
+ .list-search input::placeholder {
433
+ color: var(--muted);
434
+ opacity: 1;
435
+ }
436
+ .list-search input:focus-visible {
437
+ outline: none;
438
+ }
439
+ /* The button comes after the field (the field is reached first) and draws at its start. */
440
+ .list-search-go {
441
+ order: -1;
442
+ display: grid;
443
+ flex-shrink: 0;
444
+ place-items: center;
445
+ width: 2.625rem;
446
+ height: 2.625rem;
447
+ padding-left: 0.25rem;
448
+ border: 0;
449
+ border-radius: var(--pill);
450
+ background: transparent;
451
+ color: var(--muted);
452
+ cursor: pointer;
453
+ }
454
+ .list-search-go:hover {
455
+ color: var(--ink);
456
+ }
457
+ .list-search-go:focus-visible {
458
+ outline: 3px solid var(--ink);
459
+ outline-offset: -3px;
460
+ }
461
+ .list-results {
462
+ margin: 0 0 1.25rem;
463
+ color: var(--muted);
464
+ font-size: var(--text-sm);
465
+ font-weight: 600;
466
+ }
467
+ /* The pager under the rows: Newest at the start, Older at the end, each a
468
+ pill like the filter's. */
469
+ .pager {
470
+ display: flex;
471
+ flex-wrap: wrap;
472
+ gap: 0.75rem;
473
+ margin-top: 2rem;
474
+ padding-top: 1.5rem;
475
+ border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
476
+ }
477
+ .pager a {
478
+ display: inline-flex;
479
+ align-items: center;
480
+ gap: 0.5rem;
481
+ min-height: 2.75rem;
482
+ padding: 0.5rem 1.125rem;
483
+ border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
484
+ border-radius: var(--pill);
485
+ color: var(--ink);
486
+ font-size: var(--text-sm);
487
+ font-weight: 600;
488
+ text-decoration: none;
489
+ }
490
+ .pager a:hover {
491
+ border-color: var(--ink);
492
+ }
493
+ .pager a[rel='next'] {
494
+ margin-inline-start: auto;
495
+ }
496
+ .pager a:not([rel='next'])::before {
497
+ content: '←' / '';
498
+ }
499
+ .pager a[rel='next']::after {
500
+ content: '→' / '';
501
+ }
502
+
503
+ /* The news list's invitation when nothing is published (C10): a dashed card with what will show here and where to go meanwhile. */
504
+ .list-empty {
505
+ display: flex;
506
+ gap: 1.25rem;
507
+ align-items: flex-start;
508
+ padding: 1.75rem;
509
+ border: 2px dashed var(--line-strong);
510
+ border-radius: var(--radius-card);
511
+ }
512
+ .list-empty-mark {
513
+ display: grid;
514
+ flex-shrink: 0;
515
+ place-items: center;
516
+ width: 3.25rem;
517
+ height: 3.25rem;
518
+ border-radius: 0.875rem;
519
+ background: var(--band-wash);
520
+ color: var(--band-wash-link);
521
+ }
522
+ .list-empty-heading {
523
+ margin: 0 0 0.375rem;
524
+ font-size: calc(var(--h3) * 1.15);
525
+ }
526
+ .list-empty p {
527
+ margin: 0;
528
+ color: var(--muted);
529
+ }
530
+ .list-empty .actions {
531
+ margin-top: 1rem;
532
+ }
533
+ @media (max-width: 30rem) {
534
+ .list-empty {
535
+ flex-direction: column;
536
+ }
537
+ }
538
+
539
+ /* The lead post on the list's first page (C10): the cover over the words, the title large. */
540
+ .post-lead {
541
+ position: relative;
542
+ display: grid;
543
+ gap: 1rem;
544
+ margin-bottom: 0.25rem;
545
+ padding-bottom: 1.75rem;
546
+ border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
547
+ }
548
+ .post-lead-image {
549
+ display: block;
550
+ width: 100%;
551
+ aspect-ratio: 16 / 10;
552
+ object-fit: cover;
553
+ border-radius: var(--radius-card);
554
+ }
555
+ .post-lead-body > * {
556
+ margin: 0 0 0.625rem;
557
+ }
558
+ .post-lead-body > :last-child {
559
+ margin-bottom: 0;
560
+ }
561
+ .post-lead-title {
562
+ font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.25rem);
563
+ line-height: 1.1;
564
+ }
565
+ .post-lead-title a {
566
+ color: var(--ink);
567
+ text-decoration: none;
568
+ }
569
+ .post-lead-title a::after {
570
+ content: '';
571
+ position: absolute;
572
+ inset: 0;
573
+ }
574
+ .post-lead:hover .post-lead-title a {
575
+ text-decoration: underline;
576
+ }
577
+ .post-lead:focus-within {
578
+ outline: 3px solid var(--ink);
579
+ outline-offset: 3px;
580
+ }
581
+ .post-lead-title a:focus-visible {
582
+ outline: none;
583
+ }
584
+ .post-lead-summary {
585
+ color: var(--muted);
586
+ font-size: var(--text-lg);
587
+ max-width: var(--measure);
588
+ }
589
+ .post-chips {
590
+ display: flex;
591
+ flex-wrap: wrap;
592
+ gap: 0.375rem;
593
+ }
594
+ /* A list's byline: the writers in the ink, the day after them; the lead's with the first writer's picture or initials (the disc is the entry byline's). */
595
+ .post-byline {
596
+ display: flex;
597
+ align-items: center;
598
+ gap: 0.625rem;
599
+ color: var(--muted);
600
+ font-size: var(--text-sm);
601
+ }
602
+ .post-byline b {
603
+ color: var(--ink);
604
+ }
605
+
606
+ /* Post rows (A4, C10): the picture beside the words, above them on a phone. */
607
+ .post-rows,
608
+ .episode-rows,
609
+ .issue-rows {
610
+ margin: 0;
611
+ padding: 0;
612
+ list-style: none;
613
+ }
614
+ .post-row + .post-row,
615
+ .episode-row + .episode-row,
616
+ .issue-row + .issue-row {
617
+ border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
618
+ }
619
+ .post-row article {
620
+ position: relative;
621
+ display: grid;
622
+ gap: 1rem;
623
+ padding: 1.5rem 0;
624
+ }
625
+ .post-row-image {
626
+ display: block;
627
+ width: 100%;
628
+ aspect-ratio: 4 / 3;
629
+ object-fit: cover;
630
+ border-radius: var(--radius);
631
+ }
632
+ .post-row-body > * {
633
+ margin: 0 0 0.5rem;
634
+ }
635
+ .post-row-body > :last-child {
636
+ margin-bottom: 0;
637
+ }
638
+ .post-row-title {
639
+ font-size: var(--h3);
640
+ font-weight: 600;
641
+ }
642
+ .post-row-title a,
643
+ .episode-row-title a,
644
+ .issue-row-title a {
645
+ color: var(--ink);
646
+ text-decoration: none;
647
+ }
648
+ .post-row-title a::after {
649
+ content: '';
650
+ position: absolute;
651
+ inset: 0;
652
+ }
653
+ .post-row:hover .post-row-title a,
654
+ .episode-row-title a:hover,
655
+ .issue-row-title a:hover {
656
+ text-decoration: underline;
657
+ }
658
+ .post-row:focus-within {
659
+ outline: 3px solid var(--ink);
660
+ outline-offset: 3px;
661
+ }
662
+ .post-row-title a:focus-visible {
663
+ outline: none;
664
+ }
665
+ .post-row-summary {
666
+ color: var(--muted);
667
+ }
668
+ .post-row-byline {
669
+ color: var(--muted);
670
+ font-size: var(--text-sm);
671
+ }
672
+ @media (min-width: 40rem) {
673
+ .post-row article {
674
+ grid-template-columns: minmax(10rem, 13.75rem) minmax(0, 1fr);
675
+ gap: 1.5rem;
676
+ align-items: start;
677
+ }
678
+ .post-row article:not(:has(.post-row-image)) {
679
+ grid-template-columns: minmax(0, 1fr);
680
+ }
681
+ }
682
+ @media (prefers-reduced-motion: no-preference) {
683
+ .post-row-image {
684
+ transition: transform 0.3s ease;
685
+ }
686
+ .post-row:hover .post-row-image {
687
+ transform: scale(1.02);
688
+ }
689
+ }
690
+
691
+ /* Episode rows */
692
+ .episode-row article {
693
+ display: flex;
694
+ gap: 1.25rem;
695
+ padding: 1.5rem 0;
696
+ }
697
+ .episode-row-art {
698
+ flex-shrink: 0;
699
+ width: 4.5rem;
700
+ height: 4.5rem;
701
+ border-radius: calc(var(--radius) / 1.5);
702
+ object-fit: cover;
703
+ background: var(--band-wash);
704
+ }
705
+ .episode-row article > div > * {
706
+ margin: 0 0 0.375rem;
707
+ }
708
+ .episode-row-title {
709
+ font-size: var(--h3);
710
+ }
711
+ .episode-row-listen {
712
+ font-weight: 700;
713
+ }
714
+ @media (min-width: 40rem) {
715
+ .episode-row-art {
716
+ width: 6rem;
717
+ height: 6rem;
718
+ }
719
+ }
720
+
721
+ /* Video grid */
722
+ .video-grid {
723
+ display: grid;
724
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
725
+ gap: clamp(1rem, 2vw, 1.75rem);
726
+ margin: 0;
727
+ padding: 0;
728
+ list-style: none;
729
+ }
730
+ .video-card-still {
731
+ position: relative;
732
+ aspect-ratio: 16 / 9;
733
+ background: var(--band-contrast);
734
+ }
735
+ .video-card-still img {
736
+ display: block;
737
+ width: 100%;
738
+ height: 100%;
739
+ object-fit: cover;
740
+ }
741
+ .video-card-play {
742
+ position: absolute;
743
+ left: 1rem;
744
+ bottom: 1rem;
745
+ width: 2.75rem;
746
+ height: 2.75rem;
747
+ border-radius: 50%;
748
+ background: var(--button);
749
+ }
750
+ .video-card-play::after {
751
+ content: '';
752
+ position: absolute;
753
+ left: 1.05rem;
754
+ top: 0.8rem;
755
+ border-style: solid;
756
+ border-width: 0.575rem 0 0.575rem 0.95rem;
757
+ border-color: transparent transparent transparent var(--button-ink);
758
+ }
759
+
760
+ /* Newsletter issues */
761
+ .issue-row {
762
+ display: grid;
763
+ gap: 0.25rem 1.5rem;
764
+ padding: 1.25rem 0;
765
+ }
766
+ .issue-row time {
767
+ color: var(--muted);
768
+ font-size: var(--text-sm);
769
+ font-weight: 600;
770
+ }
771
+ .issue-row div > * {
772
+ margin: 0 0 0.375rem;
773
+ }
774
+ .issue-row-title {
775
+ font-size: var(--h3);
776
+ }
777
+ @media (min-width: 40rem) {
778
+ .issue-row {
779
+ grid-template-columns: 11rem minmax(0, 1fr);
780
+ }
781
+ .issue-row time {
782
+ padding-top: 0.35rem;
783
+ }
784
+ }