style.css 26 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232
  1. /* Astrologue — medieval-sky design system.
  2. Fusion: layout and craft adapted from the Proposed design; palette,
  3. imagery, and voice re-themed to an almanac-of-the-heavens register and
  4. grounded in the real Astrologue branding (deep navy #003078 from the
  5. logo, gold-leaf sigil, parchment). No external requests: fonts are
  6. self-hosted under assets/fonts/ (SIL Open Font License). */
  7. /* ---------------------------------------------------------------------------
  8. Fonts — self-hosted, subset to latin, woff2 (total ≈ 236 KB)
  9. --------------------------------------------------------------------------- */
  10. @font-face {
  11. font-family: "Cinzel";
  12. font-style: normal;
  13. font-weight: 600;
  14. font-display: swap;
  15. src: url("../fonts/cinzel-600.woff2") format("woff2");
  16. }
  17. @font-face {
  18. font-family: "Cinzel";
  19. font-style: normal;
  20. font-weight: 700;
  21. font-display: swap;
  22. src: url("../fonts/cinzel-700.woff2") format("woff2");
  23. }
  24. @font-face {
  25. font-family: "EB Garamond";
  26. font-style: normal;
  27. font-weight: 400;
  28. font-display: swap;
  29. src: url("../fonts/ebgaramond-400.woff2") format("woff2");
  30. }
  31. @font-face {
  32. font-family: "EB Garamond";
  33. font-style: normal;
  34. font-weight: 600;
  35. font-display: swap;
  36. src: url("../fonts/ebgaramond-600.woff2") format("woff2");
  37. }
  38. @font-face {
  39. font-family: "EB Garamond";
  40. font-style: italic;
  41. font-weight: 400;
  42. font-display: swap;
  43. src: url("../fonts/ebgaramond-italic-400.woff2") format("woff2");
  44. }
  45. /* ---------------------------------------------------------------------------
  46. Tokens — parchment star-chart by day, night sky by dark
  47. --------------------------------------------------------------------------- */
  48. :root {
  49. color-scheme: light;
  50. --bg: #f2ebda; /* parchment */
  51. --surface: #f9f4e6;
  52. --ink: #1f2533;
  53. --ink-soft: #5c6172;
  54. --line: #d9cdaa;
  55. --navy: #003078; /* the logo's blue */
  56. --lapis: #2c4a9e;
  57. --steel: #a8c0f0; /* light-steel, dark-scheme accent */
  58. --lapis-field: #22357a;
  59. --gold: #a8801f; /* gold-leaf from the sigil */
  60. --gold-ink: #7a5d12;
  61. --gold-soft: #cdb377;
  62. --btn-bg: #003078;
  63. --btn-fg: #f4efe2;
  64. --shadow: 0 30px 60px -35px rgb(15 20 40 / 0.45);
  65. --glow: radial-gradient(90rem 40rem at 50% -12rem, rgb(255 251 240 / 0.55), transparent 70%);
  66. --vignette: radial-gradient(140% 120% at 50% 50%, transparent 62%, rgb(30 38 70 / 0.07));
  67. --stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cg fill='%23a8801f' opacity='.16'%3E%3Cpath d='M30 31l1.4 3.6 3.6 1.4-3.6 1.4-1.4 3.6-1.4-3.6-3.6-1.4 3.6-1.4z'/%3E%3Cpath d='M128 18.5l1 2.5 2.5 1-2.5 1-1 2.5-1-2.5-2.5-1 2.5-1z'/%3E%3Cpath d='M76 116l1.1 2.9 2.9 1.1-2.9 1.1-1.1 2.9-1.1-2.9-2.9-1.1 2.9-1.1z'/%3E%3Cpath d='M170 83.2l.8 2.2 2.2.8-2.2.8-.8 2.2-.8-2.2-2.2-.8 2.2-.8z'/%3E%3Cpath d='M44 165.3l.7 1.8 1.8.7-1.8.7-.7 1.8-.7-1.8-1.8-.7 1.8-.7z'/%3E%3Cpath d='M150 154l1.1 2.9 2.9 1.1-2.9 1.1-1.1 2.9-1.1-2.9-2.9-1.1 2.9-1.1z'/%3E%3Ccircle cx='100' cy='70' r='1.2'/%3E%3Ccircle cx='182' cy='142' r='1'/%3E%3Ccircle cx='14' cy='104' r='1'/%3E%3C/g%3E%3C/svg%3E");
  68. --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  69. --divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='16' viewBox='0 0 240 16'%3E%3Cg fill='none' stroke='%23a8801f' stroke-width='1'%3E%3Cpath d='M0 8h92'/%3E%3Cpath d='M148 8h92'/%3E%3C/g%3E%3Cg fill='%23a8801f'%3E%3Cpath d='M120 1l7 7-7 7-7-7z'/%3E%3Ccircle cx='103' cy='8' r='1.8'/%3E%3Ccircle cx='96' cy='8' r='1.8'/%3E%3Ccircle cx='137' cy='8' r='1.8'/%3E%3Ccircle cx='144' cy='8' r='1.8'/%3E%3C/g%3E%3C/svg%3E");
  70. }
  71. @media (prefers-color-scheme: dark) {
  72. :root {
  73. color-scheme: dark;
  74. --bg: #0a0a12; /* near-black night */
  75. --surface: #151a2c;
  76. --ink: #e9e5d8;
  77. --ink-soft: #a9b1cd;
  78. --line: #2e3554;
  79. --navy: #6f8fd8;
  80. --lapis: #a8c0f0;
  81. --steel: #a8c0f0;
  82. --lapis-field: #16224e;
  83. --gold: #d3ac52;
  84. --gold-ink: #d3ac52;
  85. --gold-soft: #8a7440;
  86. --btn-bg: #d3ac52;
  87. --btn-fg: #211a0e;
  88. --shadow: 0 30px 60px -35px rgb(0 0 0 / 0.7);
  89. --glow: radial-gradient(90rem 40rem at 50% -12rem, rgb(110 140 235 / 0.08), transparent 70%);
  90. --vignette: radial-gradient(140% 120% at 50% 50%, transparent 58%, rgb(2 4 12 / 0.5));
  91. --stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cg fill='%23d3ac52' opacity='.35'%3E%3Cpath d='M30 31l1.4 3.6 3.6 1.4-3.6 1.4-1.4 3.6-1.4-3.6-3.6-1.4 3.6-1.4z'/%3E%3Cpath d='M128 18.5l1 2.5 2.5 1-2.5 1-1 2.5-1-2.5-2.5-1 2.5-1z'/%3E%3Cpath d='M76 116l1.1 2.9 2.9 1.1-2.9 1.1-1.1 2.9-1.1-2.9-2.9-1.1 2.9-1.1z'/%3E%3Cpath d='M170 83.2l.8 2.2 2.2.8-2.2.8-.8 2.2-.8-2.2-2.2-.8 2.2-.8z'/%3E%3Cpath d='M44 165.3l.7 1.8 1.8.7-1.8.7-.7 1.8-.7-1.8-1.8-.7 1.8-.7z'/%3E%3Cpath d='M150 154l1.1 2.9 2.9 1.1-2.9 1.1-1.1 2.9-1.1-2.9-2.9-1.1 2.9-1.1z'/%3E%3Ccircle cx='100' cy='70' r='1.2'/%3E%3Ccircle cx='182' cy='142' r='1'/%3E%3Ccircle cx='14' cy='104' r='1'/%3E%3C/g%3E%3C/svg%3E");
  92. }
  93. }
  94. /* ---------------------------------------------------------------------------
  95. Base
  96. --------------------------------------------------------------------------- */
  97. *,
  98. *::before,
  99. *::after {
  100. box-sizing: border-box;
  101. }
  102. * {
  103. margin: 0;
  104. }
  105. html {
  106. scroll-behavior: smooth;
  107. scroll-padding-top: 5.5rem;
  108. }
  109. body {
  110. font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  111. font-size: 1.125rem;
  112. line-height: 1.65;
  113. color: var(--ink);
  114. background-color: var(--bg);
  115. background-image: var(--noise);
  116. border-top: 3px solid var(--gold);
  117. -webkit-font-smoothing: antialiased;
  118. }
  119. body::after {
  120. content: "";
  121. position: fixed;
  122. inset: 0;
  123. pointer-events: none;
  124. background-image: var(--glow), var(--vignette);
  125. }
  126. img {
  127. display: block;
  128. max-width: 100%;
  129. height: auto;
  130. }
  131. h1,
  132. h2,
  133. h3 {
  134. font-family: "Cinzel", Georgia, serif;
  135. font-weight: 600;
  136. line-height: 1.15;
  137. text-wrap: balance;
  138. }
  139. a {
  140. color: var(--lapis);
  141. text-decoration-thickness: 1px;
  142. text-underline-offset: 3px;
  143. }
  144. a:hover {
  145. color: var(--gold-ink);
  146. }
  147. :focus-visible {
  148. outline: 2px solid var(--gold);
  149. outline-offset: 3px;
  150. }
  151. ::selection {
  152. background: var(--gold);
  153. color: #211a0e;
  154. }
  155. .container {
  156. width: min(72rem, 100% - 3rem);
  157. margin-inline: auto;
  158. }
  159. .container--prose {
  160. width: min(50rem, 100% - 3rem);
  161. }
  162. .skip-link {
  163. position: fixed;
  164. top: 0.75rem;
  165. left: 0.75rem;
  166. z-index: 100;
  167. padding: 0.6rem 1rem;
  168. font-family: "Cinzel", serif;
  169. font-size: 0.8rem;
  170. letter-spacing: 0.08em;
  171. color: #211a0e;
  172. background: var(--gold);
  173. text-decoration: none;
  174. transform: translateY(-300%);
  175. }
  176. .skip-link:focus {
  177. transform: translateY(0);
  178. }
  179. /* ---------------------------------------------------------------------------
  180. Masthead — the real logo, light variant by day, dark variant by night
  181. --------------------------------------------------------------------------- */
  182. .masthead {
  183. position: sticky;
  184. top: 0;
  185. z-index: 20;
  186. background: color-mix(in srgb, var(--bg) 88%, transparent);
  187. backdrop-filter: blur(8px);
  188. border-bottom: 1px solid var(--line);
  189. }
  190. .masthead__inner {
  191. display: flex;
  192. flex-wrap: wrap;
  193. align-items: center;
  194. justify-content: space-between;
  195. gap: 0.75rem 2rem;
  196. padding-block: 0.75rem;
  197. }
  198. .brand {
  199. display: inline-flex;
  200. align-items: center;
  201. text-decoration: none;
  202. color: inherit;
  203. }
  204. .brand__logo {
  205. height: 2.5rem;
  206. width: auto;
  207. }
  208. .brand__logo--dark {
  209. display: none;
  210. }
  211. @media (prefers-color-scheme: dark) {
  212. .brand__logo--light {
  213. display: none;
  214. }
  215. .brand__logo--dark {
  216. display: inline-block;
  217. }
  218. }
  219. .site-nav__list {
  220. display: flex;
  221. flex-wrap: wrap;
  222. align-items: center;
  223. gap: 0.5rem 1.6rem;
  224. padding: 0;
  225. list-style: none;
  226. }
  227. .site-nav__list a:not(.nav-cta) {
  228. font-variant: small-caps;
  229. font-size: 1.08rem;
  230. letter-spacing: 0.06em;
  231. color: var(--ink);
  232. text-decoration: none;
  233. background-image: linear-gradient(var(--gold), var(--gold));
  234. background-repeat: no-repeat;
  235. background-position: 0 100%;
  236. background-size: 0% 1px;
  237. transition: background-size 0.25s ease, color 0.25s ease;
  238. }
  239. .site-nav__list a:not(.nav-cta):hover {
  240. color: var(--gold-ink);
  241. background-size: 100% 1px;
  242. }
  243. .nav-cta {
  244. font-family: "Cinzel", serif;
  245. font-size: 0.82rem;
  246. letter-spacing: 0.08em;
  247. color: var(--btn-fg);
  248. background: var(--btn-bg);
  249. border: 1px solid var(--gold);
  250. padding: 0.45rem 1rem;
  251. text-decoration: none;
  252. transition: background-color 0.25s ease, color 0.25s ease;
  253. }
  254. .nav-cta:hover {
  255. background: var(--gold);
  256. color: #211a0e;
  257. }
  258. /* ---------------------------------------------------------------------------
  259. Bands, kickers, section heads
  260. --------------------------------------------------------------------------- */
  261. .band {
  262. padding-block: clamp(3rem, 8vw, 5.5rem);
  263. }
  264. .band--sky {
  265. --ink: #ece7d8;
  266. --ink-soft: #b9c2df;
  267. --gold: #d3ac52;
  268. --gold-ink: #d3ac52;
  269. --gold-soft: #c9b06a;
  270. --surface: var(--lapis-field);
  271. color: var(--ink);
  272. background-color: var(--lapis-field);
  273. background-image: var(--stars), radial-gradient(80rem 34rem at 50% -10rem, rgb(127 160 232 / 0.16), transparent 70%);
  274. border-block: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  275. }
  276. .kicker {
  277. display: flex;
  278. align-items: center;
  279. gap: 1.25rem;
  280. margin-bottom: 1.1rem;
  281. }
  282. .kicker::before,
  283. .kicker::after {
  284. content: "";
  285. flex: 1;
  286. height: 1px;
  287. background: linear-gradient(90deg, transparent, var(--gold-soft));
  288. }
  289. .kicker::after {
  290. background: linear-gradient(90deg, var(--gold-soft), transparent);
  291. }
  292. .kicker span {
  293. font-family: "Cinzel", serif;
  294. font-size: 0.78rem;
  295. font-weight: 600;
  296. letter-spacing: 0.28em;
  297. text-transform: uppercase;
  298. color: var(--gold-ink);
  299. white-space: nowrap;
  300. }
  301. .section-head {
  302. max-width: 44rem;
  303. margin-inline: auto;
  304. margin-bottom: clamp(2rem, 5vw, 3.25rem);
  305. text-align: center;
  306. }
  307. .section-head h2 {
  308. font-size: clamp(1.7rem, 1rem + 2.4vw, 2.6rem);
  309. }
  310. .section-head__intro {
  311. margin-top: 1rem;
  312. color: var(--ink-soft);
  313. text-wrap: pretty;
  314. }
  315. /* ---------------------------------------------------------------------------
  316. Hero — pitch beside the Milky Way folio
  317. --------------------------------------------------------------------------- */
  318. .hero {
  319. padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(3rem, 8vw, 5.5rem);
  320. }
  321. .hero__grid {
  322. display: grid;
  323. grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr);
  324. gap: clamp(2.5rem, 6vw, 5rem);
  325. align-items: center;
  326. }
  327. .hero__title {
  328. font-size: clamp(2.3rem, 1.2rem + 4vw, 4rem);
  329. margin-bottom: 1.5rem;
  330. }
  331. .hero__accent {
  332. display: block;
  333. font-family: "EB Garamond", serif;
  334. font-style: italic;
  335. font-weight: 500;
  336. font-size: 0.72em;
  337. color: var(--lapis);
  338. }
  339. .lede {
  340. font-size: 1.22rem;
  341. max-width: 56ch;
  342. color: var(--ink);
  343. text-wrap: pretty;
  344. }
  345. .dropcap::first-letter {
  346. font-family: "Cinzel", serif;
  347. float: left;
  348. font-size: 3.1em;
  349. line-height: 0.78;
  350. padding: 0.08em 0.12em 0 0;
  351. color: var(--gold-ink);
  352. }
  353. .hero__actions {
  354. display: flex;
  355. flex-wrap: wrap;
  356. gap: 1rem;
  357. margin-top: 2.2rem;
  358. }
  359. .btn {
  360. display: inline-flex;
  361. align-items: center;
  362. gap: 0.5rem;
  363. padding: 0.8rem 1.6rem;
  364. font-family: "Cinzel", serif;
  365. font-size: 0.92rem;
  366. font-weight: 600;
  367. letter-spacing: 0.08em;
  368. text-decoration: none;
  369. border: 1px solid var(--gold);
  370. transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  371. }
  372. .btn--primary {
  373. background: var(--btn-bg);
  374. color: var(--btn-fg);
  375. }
  376. .btn--primary:hover {
  377. background: var(--gold);
  378. color: #211a0e;
  379. }
  380. .btn--ghost {
  381. background: transparent;
  382. color: var(--ink);
  383. border-color: color-mix(in srgb, var(--ink) 45%, transparent);
  384. }
  385. .btn--ghost:hover {
  386. color: var(--gold-ink);
  387. border-color: var(--gold);
  388. }
  389. .hero__note {
  390. margin-top: 1.1rem;
  391. font-size: 0.92rem;
  392. font-style: italic;
  393. color: var(--ink-soft);
  394. }
  395. /* Folio — a plate from the night atlas, framed in gold */
  396. .folio {
  397. position: relative;
  398. padding: 0.75rem;
  399. background-color: var(--lapis-field);
  400. background-image: var(--stars);
  401. border: 1px solid var(--gold-soft);
  402. box-shadow: var(--shadow);
  403. }
  404. .folio img {
  405. width: 100%;
  406. border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  407. }
  408. .folio figcaption {
  409. padding-top: 0.7rem;
  410. font-size: 0.85rem;
  411. font-style: italic;
  412. text-align: center;
  413. color: rgb(236 231 216 / 0.75);
  414. }
  415. .corner {
  416. position: absolute;
  417. width: 22px;
  418. height: 22px;
  419. border: 0 solid var(--gold);
  420. }
  421. .corner--tl {
  422. top: -2px;
  423. left: -2px;
  424. border-top-width: 2px;
  425. border-left-width: 2px;
  426. }
  427. .corner--tr {
  428. top: -2px;
  429. right: -2px;
  430. border-top-width: 2px;
  431. border-right-width: 2px;
  432. }
  433. .corner--bl {
  434. bottom: -2px;
  435. left: -2px;
  436. border-bottom-width: 2px;
  437. border-left-width: 2px;
  438. }
  439. .corner--br {
  440. bottom: -2px;
  441. right: -2px;
  442. border-bottom-width: 2px;
  443. border-right-width: 2px;
  444. }
  445. .divider {
  446. width: min(240px, 60vw);
  447. height: 16px;
  448. margin: 0 auto;
  449. border: 0;
  450. background: var(--divider) center / contain no-repeat;
  451. }
  452. /* ---------------------------------------------------------------------------
  453. Pillars — the three real cards from the original site
  454. --------------------------------------------------------------------------- */
  455. .grid-pillars {
  456. display: grid;
  457. grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  458. gap: 1.75rem;
  459. }
  460. .pillar {
  461. display: flex;
  462. flex-direction: column;
  463. padding: 0 0 1.9rem;
  464. background: var(--surface);
  465. border: 1px solid var(--line);
  466. box-shadow: inset 0 2px 0 var(--gold-soft);
  467. transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  468. }
  469. .pillar:hover {
  470. transform: translateY(-3px);
  471. border-color: var(--gold-soft);
  472. box-shadow: inset 0 2px 0 var(--gold);
  473. }
  474. .pillar__media {
  475. margin: 1.4rem 1.4rem 0;
  476. aspect-ratio: 16 / 9;
  477. overflow: hidden;
  478. border: 1px solid var(--gold-soft);
  479. }
  480. .pillar__media img {
  481. width: 100%;
  482. height: 100%;
  483. object-fit: cover;
  484. transition: transform 0.4s ease;
  485. }
  486. .pillar:hover .pillar__media img {
  487. transform: scale(1.03);
  488. }
  489. .pillar__body {
  490. padding: 1.1rem 1.5rem 0;
  491. }
  492. .pillar__num {
  493. font-family: "Cinzel", serif;
  494. font-weight: 700;
  495. font-size: 1rem;
  496. letter-spacing: 0.1em;
  497. color: var(--gold-ink);
  498. }
  499. .pillar h3 {
  500. margin: 0.5rem 0 0.6rem;
  501. font-size: 1.12rem;
  502. }
  503. .pillar p:last-child {
  504. font-size: 1rem;
  505. color: var(--ink-soft);
  506. text-wrap: pretty;
  507. }
  508. .pillar__sigil {
  509. display: flex;
  510. justify-content: center;
  511. padding-top: 1.9rem;
  512. }
  513. /* The sigil — ring and eight-point star, the site's celestial mark */
  514. .sigil__ring {
  515. stroke: var(--gold);
  516. }
  517. .sigil__star {
  518. fill: var(--gold);
  519. }
  520. .sigil__core {
  521. fill: var(--lapis);
  522. }
  523. /* ---------------------------------------------------------------------------
  524. News — honest empty state until there is news
  525. --------------------------------------------------------------------------- */
  526. .news-empty {
  527. max-width: 34rem;
  528. margin-inline: auto;
  529. padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 5vw, 2.75rem);
  530. text-align: center;
  531. background: var(--surface);
  532. border: 1px solid var(--gold-soft);
  533. }
  534. .news-empty .sigil {
  535. margin-inline: auto;
  536. }
  537. .news-empty h3 {
  538. margin-top: 1rem;
  539. font-size: 1.2rem;
  540. }
  541. .news-empty p {
  542. margin-top: 0.6rem;
  543. font-size: 1rem;
  544. color: var(--ink-soft);
  545. text-wrap: pretty;
  546. }
  547. .news-empty code {
  548. font-size: 0.9em;
  549. color: var(--ink);
  550. background: color-mix(in srgb, var(--gold) 18%, transparent);
  551. padding: 0.05em 0.4em;
  552. }
  553. /* ---------------------------------------------------------------------------
  554. Download — honest until a release exists; table ready for the day
  555. --------------------------------------------------------------------------- */
  556. .cta-band {
  557. position: relative;
  558. max-width: 46rem;
  559. margin-inline: auto;
  560. padding: clamp(2.25rem, 6vw, 3.5rem) clamp(1.5rem, 6vw, 3.5rem);
  561. text-align: center;
  562. background: var(--surface);
  563. border: 1px solid var(--gold-soft);
  564. }
  565. .cta-band::before,
  566. .cta-band::after {
  567. content: "";
  568. position: absolute;
  569. width: 26px;
  570. height: 26px;
  571. border: 0 solid var(--gold);
  572. }
  573. .cta-band::before {
  574. top: 8px;
  575. left: 8px;
  576. border-top-width: 2px;
  577. border-left-width: 2px;
  578. }
  579. .cta-band::after {
  580. bottom: 8px;
  581. right: 8px;
  582. border-bottom-width: 2px;
  583. border-right-width: 2px;
  584. }
  585. .cta-band .kicker {
  586. margin-inline: auto;
  587. max-width: 30rem;
  588. }
  589. .cta-band h2 {
  590. font-size: clamp(1.6rem, 1rem + 2vw, 2.3rem);
  591. }
  592. .cta-band__lede {
  593. margin-top: 0.8rem;
  594. color: var(--ink-soft);
  595. }
  596. .cta-band .hero__actions {
  597. justify-content: center;
  598. }
  599. .cta-band .hero__note {
  600. margin-top: 1.3rem;
  601. }
  602. .release-table {
  603. width: 100%;
  604. margin-top: 2rem;
  605. border-collapse: collapse;
  606. font-size: 0.95rem;
  607. text-align: left;
  608. }
  609. .release-table caption {
  610. margin-bottom: 0.6rem;
  611. font-size: 0.85rem;
  612. font-style: italic;
  613. color: var(--ink-soft);
  614. }
  615. .release-table th,
  616. .release-table td {
  617. padding: 0.55rem 0.7rem;
  618. border-bottom: 1px solid var(--line);
  619. vertical-align: top;
  620. }
  621. .release-table th {
  622. font-family: "Cinzel", serif;
  623. font-size: 0.72rem;
  624. font-weight: 600;
  625. letter-spacing: 0.14em;
  626. text-transform: uppercase;
  627. color: var(--gold-ink);
  628. }
  629. .release-table td code {
  630. font-size: 0.82em;
  631. word-break: break-all;
  632. }
  633. #download.band {
  634. padding-top: clamp(1.5rem, 5vw, 3rem);
  635. }
  636. /* ---------------------------------------------------------------------------
  637. Footer — the night sky, the four freedoms, the licence
  638. --------------------------------------------------------------------------- */
  639. .site-footer {
  640. background-color: color-mix(in srgb, var(--lapis-field) 55%, #0a0a12);
  641. background-image: var(--stars);
  642. color: #ece7d8;
  643. padding: clamp(2.75rem, 7vw, 4rem) 0 2.25rem;
  644. }
  645. .footer-grid {
  646. display: grid;
  647. grid-template-columns: 2fr 1.3fr 1fr;
  648. gap: 2.5rem 1.5rem;
  649. }
  650. .foot-brand {
  651. max-width: 26rem;
  652. }
  653. .foot-brand .brand__logo {
  654. height: 2.2rem;
  655. margin-bottom: 1rem;
  656. }
  657. .foot-brand p {
  658. font-size: 0.98rem;
  659. font-style: italic;
  660. color: rgb(236 231 216 / 0.78);
  661. }
  662. .foot-title {
  663. font-family: "Cinzel", serif;
  664. font-size: 0.8rem;
  665. font-weight: 600;
  666. letter-spacing: 0.16em;
  667. text-transform: uppercase;
  668. color: #cdb377;
  669. margin-bottom: 0.9rem;
  670. }
  671. .freedoms {
  672. padding: 0;
  673. list-style: none;
  674. counter-reset: freedom;
  675. }
  676. .freedoms li {
  677. position: relative;
  678. counter-increment: freedom;
  679. padding-left: 2.2rem;
  680. margin-top: 0.55rem;
  681. font-size: 0.95rem;
  682. color: rgb(236 231 216 / 0.85);
  683. }
  684. .freedoms li::before {
  685. content: counter(freedom, decimal-leading-zero);
  686. position: absolute;
  687. left: 0;
  688. top: 0.1em;
  689. font-family: "Cinzel", serif;
  690. font-size: 0.72rem;
  691. letter-spacing: 0.1em;
  692. color: #d3ac52;
  693. }
  694. .foot-list {
  695. padding: 0;
  696. list-style: none;
  697. }
  698. .foot-list li + li {
  699. margin-top: 0.45rem;
  700. }
  701. .foot-list a {
  702. color: rgb(236 231 216 / 0.88);
  703. font-size: 0.98rem;
  704. text-decoration: none;
  705. }
  706. .foot-list a:hover {
  707. color: #d3ac52;
  708. text-decoration: underline;
  709. text-underline-offset: 3px;
  710. }
  711. .colophon {
  712. margin-top: 2.5rem;
  713. padding-top: 1.4rem;
  714. border-top: 1px solid rgb(236 231 216 / 0.22);
  715. font-size: 0.88rem;
  716. font-style: italic;
  717. text-align: center;
  718. color: rgb(236 231 216 / 0.62);
  719. }
  720. /* ---------------------------------------------------------------------------
  721. Developer pages — breadcrumb, page hero, stack map, project cards
  722. --------------------------------------------------------------------------- */
  723. /* Where you are: Home / Developer — established here for the detail pages too */
  724. .breadcrumb {
  725. padding-block: 0.9rem 0;
  726. }
  727. .breadcrumb ol {
  728. display: flex;
  729. flex-wrap: wrap;
  730. gap: 0.35rem 0.75rem;
  731. padding: 0;
  732. margin: 0;
  733. list-style: none;
  734. font-size: 0.88rem;
  735. }
  736. .breadcrumb li {
  737. display: flex;
  738. align-items: center;
  739. gap: 0.75rem;
  740. }
  741. .breadcrumb li + li::before {
  742. content: "/";
  743. color: var(--gold-ink);
  744. }
  745. .breadcrumb a {
  746. font-variant: small-caps;
  747. letter-spacing: 0.05em;
  748. color: var(--ink-soft);
  749. text-decoration: none;
  750. }
  751. .breadcrumb a:hover {
  752. color: var(--gold-ink);
  753. }
  754. .breadcrumb [aria-current] {
  755. font-variant: small-caps;
  756. letter-spacing: 0.05em;
  757. color: var(--ink);
  758. }
  759. /* The masthead marks the section you stand in */
  760. .site-nav__list a[aria-current="page"] {
  761. color: var(--gold-ink);
  762. background-size: 100% 1px;
  763. }
  764. /* Page hero — the developer section's title page (no folio; the sky band below
  765. carries the imagery) */
  766. .page-hero {
  767. padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3.25rem);
  768. }
  769. .page-hero .hero__copy {
  770. max-width: 54rem;
  771. margin-inline: auto;
  772. text-align: center;
  773. }
  774. .page-hero .hero__actions {
  775. justify-content: center;
  776. }
  777. .page-hero .lede {
  778. margin-inline: auto;
  779. }
  780. /* Stack map — Spry's README diagram, redrawn as nested plates on the night sky */
  781. .stack-map {
  782. max-width: 44rem;
  783. margin-inline: auto;
  784. }
  785. .stack-layer {
  786. padding: 0.85rem 1.1rem 1rem;
  787. background: rgb(7 9 20 / 0.45);
  788. border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  789. }
  790. .stack-layer--child {
  791. margin-top: 0.75rem;
  792. }
  793. .stack-layer__name {
  794. font-family: "Cinzel", serif;
  795. font-size: 0.92rem;
  796. font-weight: 600;
  797. letter-spacing: 0.06em;
  798. color: var(--gold-ink);
  799. }
  800. .stack-layer__name a {
  801. color: inherit;
  802. text-decoration: none;
  803. border-bottom: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  804. }
  805. .stack-layer__name a:hover {
  806. color: var(--gold);
  807. border-bottom-color: var(--gold);
  808. }
  809. .stack-layer__role {
  810. margin-top: 0.15rem;
  811. font-size: 0.92rem;
  812. font-style: italic;
  813. color: var(--ink-soft);
  814. }
  815. .stack-branches {
  816. display: grid;
  817. grid-template-columns: 1fr 1fr;
  818. gap: 0.75rem;
  819. margin-top: 0.75rem;
  820. }
  821. .stack-map figcaption {
  822. margin-top: 1.1rem;
  823. font-size: 0.88rem;
  824. font-style: italic;
  825. text-align: center;
  826. color: var(--ink-soft);
  827. text-wrap: pretty;
  828. }
  829. /* The firmament — where the non-web pieces sit around the stack */
  830. .firmament-title {
  831. margin-top: clamp(2.25rem, 6vw, 3.25rem);
  832. font-size: 1.05rem;
  833. letter-spacing: 0.14em;
  834. text-transform: uppercase;
  835. text-align: center;
  836. color: var(--gold-ink);
  837. }
  838. .firmament {
  839. display: grid;
  840. grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  841. gap: 1rem 1.5rem;
  842. max-width: 56rem;
  843. margin: 1.4rem auto 0;
  844. }
  845. .firmament__item {
  846. padding-left: 0.9rem;
  847. border-left: 2px solid var(--gold-soft);
  848. }
  849. .firmament__name {
  850. font-family: "Cinzel", serif;
  851. font-size: 0.9rem;
  852. font-weight: 600;
  853. letter-spacing: 0.05em;
  854. }
  855. .firmament__item p + p {
  856. margin-top: 0.15rem;
  857. font-size: 0.92rem;
  858. font-style: italic;
  859. color: var(--ink-soft);
  860. text-wrap: pretty;
  861. }
  862. /* Group heads — the catalogue's chapters */
  863. .group-head {
  864. display: flex;
  865. flex-wrap: wrap;
  866. align-items: baseline;
  867. gap: 0.4rem 1rem;
  868. margin: clamp(2.75rem, 7vw, 4rem) 0 1.4rem;
  869. padding-bottom: 0.7rem;
  870. border-bottom: 1px solid var(--line);
  871. }
  872. .section-head + .group-head {
  873. margin-top: 0;
  874. }
  875. .group-head__num {
  876. font-family: "Cinzel", serif;
  877. font-weight: 700;
  878. font-size: 1rem;
  879. letter-spacing: 0.1em;
  880. color: var(--gold-ink);
  881. }
  882. .group-head h3 {
  883. font-size: 1.18rem;
  884. }
  885. .group-head__note {
  886. margin-left: auto;
  887. font-size: 0.92rem;
  888. font-style: italic;
  889. color: var(--ink-soft);
  890. }
  891. /* Project cards — one library per plate */
  892. .grid-projects {
  893. display: grid;
  894. grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
  895. gap: 1.4rem;
  896. }
  897. .project-card {
  898. display: flex;
  899. flex-direction: column;
  900. padding: 1.25rem 1.35rem 1.1rem;
  901. background: var(--surface);
  902. border: 1px solid var(--line);
  903. box-shadow: inset 0 2px 0 var(--gold-soft);
  904. transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  905. }
  906. .project-card:hover {
  907. transform: translateY(-3px);
  908. border-color: var(--gold-soft);
  909. box-shadow: inset 0 2px 0 var(--gold);
  910. }
  911. .project-card__top {
  912. display: flex;
  913. align-items: baseline;
  914. justify-content: space-between;
  915. gap: 0.75rem;
  916. }
  917. .project-card__top h3 {
  918. font-size: 1.06rem;
  919. }
  920. .project-card__top a {
  921. color: inherit;
  922. text-decoration: none;
  923. }
  924. .project-card__top a:hover {
  925. color: var(--gold-ink);
  926. text-decoration: underline;
  927. text-underline-offset: 3px;
  928. }
  929. .project-card__tag {
  930. flex: none;
  931. padding: 0.14rem 0.5rem;
  932. font-family: "Cinzel", serif;
  933. font-size: 0.62rem;
  934. font-weight: 600;
  935. letter-spacing: 0.14em;
  936. text-transform: uppercase;
  937. color: var(--gold-ink);
  938. border: 1px solid var(--gold-soft);
  939. }
  940. .project-card__summary {
  941. margin-top: 0.75rem;
  942. flex-grow: 1;
  943. font-size: 0.99rem;
  944. color: var(--ink-soft);
  945. text-wrap: pretty;
  946. }
  947. .project-card__meta {
  948. display: flex;
  949. align-items: baseline;
  950. justify-content: space-between;
  951. gap: 0.75rem;
  952. margin-top: 1.15rem;
  953. padding-top: 0.8rem;
  954. border-top: 1px solid var(--line);
  955. }
  956. .project-card__meta > span {
  957. font-size: 0.84rem;
  958. font-style: italic;
  959. color: var(--ink-soft);
  960. }
  961. .project-card__more {
  962. font-family: "Cinzel", serif;
  963. font-size: 0.72rem;
  964. font-weight: 600;
  965. letter-spacing: 0.12em;
  966. text-transform: uppercase;
  967. color: var(--gold-ink);
  968. text-decoration: none;
  969. white-space: nowrap;
  970. }
  971. .project-card__more:hover {
  972. color: var(--gold-ink);
  973. text-decoration: underline;
  974. text-underline-offset: 3px;
  975. }
  976. @media (max-width: 38rem) {
  977. .stack-branches {
  978. grid-template-columns: 1fr;
  979. }
  980. .group-head__note {
  981. margin-left: 0;
  982. }
  983. }
  984. /* ---------------------------------------------------------------------------
  985. Responsive, motion, print
  986. --------------------------------------------------------------------------- */
  987. @media (max-width: 60rem) {
  988. .hero__grid {
  989. grid-template-columns: 1fr;
  990. }
  991. .folio {
  992. max-width: 26rem;
  993. margin-inline: auto;
  994. }
  995. .footer-grid {
  996. grid-template-columns: 1fr 1fr;
  997. }
  998. .foot-brand {
  999. grid-column: 1 / -1;
  1000. }
  1001. }
  1002. @media (max-width: 38rem) {
  1003. .footer-grid {
  1004. grid-template-columns: 1fr;
  1005. }
  1006. .kicker span {
  1007. letter-spacing: 0.18em;
  1008. }
  1009. .release-table {
  1010. display: block;
  1011. overflow-x: auto;
  1012. }
  1013. }
  1014. @media (prefers-reduced-motion: reduce) {
  1015. html {
  1016. scroll-behavior: auto;
  1017. }
  1018. *,
  1019. *::before,
  1020. *::after {
  1021. transition-duration: 0.01ms !important;
  1022. animation-duration: 0.01ms !important;
  1023. animation-iteration-count: 1 !important;
  1024. }
  1025. }
  1026. @media print {
  1027. body {
  1028. background: none;
  1029. color: #000;
  1030. }
  1031. body::after,
  1032. .masthead .site-nav,
  1033. .hero__actions,
  1034. .btn {
  1035. display: none;
  1036. }
  1037. .folio {
  1038. box-shadow: none;
  1039. }
  1040. }