/* aemarion.com, the bibliography. Every value is from the Carrd original (archive/live-2026-11-26/pages/index.css);
   docs/REFERENCE.md lists them in px at 1440x900. */

html { font-size: 24pt; }
@media (max-width: 1680px) { html { font-size: 18pt; } }
@media (max-width: 980px) { html { font-size: 15pt; } }

body { background-color: #EDEDED; }

.inner { --width: 53rem; --pad-h: 11.875rem; --pad-v: 11.75rem; --spacing: 0.75rem; }

/* the opening paragraph (Carrd text12, style-1) */
.intro {
  text-align: center; color: #ADADAD;
  font-family: 'Alice', serif; font-size: 0.625em; line-height: 1.625; font-weight: 400;
}
.intro:not(:first-child) { margin-top: 2.125rem !important; }
.intro:not(:last-child) { margin-bottom: 2.125rem !important; }
.intro a { color: inherit; }

/* "about" and "Privacy" (Carrd links01 / links02) */
.links {
  display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0.5rem;
  font-family: 'Alice', serif; font-size: 0.625em; font-weight: 400; line-height: 1.5; letter-spacing: 0;
}
.links:not(:first-child) { margin-top: 2.125rem !important; }
.links:not(:last-child) { margin-bottom: 2.125rem !important; }
.links a { color: #ADADAD; display: block; }

/* The citations, in 11 blocks (.chunk) as on Carrd. The gaps between blocks (--spacing) are intended, for legibility
   (owner, 2026-11-26; docs/REFERENCE.md): keep the blocks and their boundaries as they are. */
.chunk {
  position: relative; color: #ADADAD;
  font-family: 'Alice', serif; font-size: 0.75em; line-height: 1.625; font-weight: 400;
}
.chunk > * { display: block; position: relative; }
.chunk > * + * { margin-top: 1rem; }
.chapter { font-weight: 400; }
.note a { color: inherit; }
/* Carrd: links lose their underline under the pointer; here it fades (DLM M2, SPECS HOVER-1) */
.intro a, .note a {
  text-decoration-line: underline; text-decoration-color: currentColor;
  transition: text-decoration-color 0.9s ease;
}
@media (hover: hover) { .intro a:hover, .note a:hover { text-decoration-color: transparent; transition: text-decoration-color 0.35s ease 0.08s; } }
.note u { text-decoration: underline; }

/* "↑ Top" (Carrd buttons01, style-1) */
.buttons { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0.75rem; cursor: default; letter-spacing: 0; }
.to-top {
  display: inline-block; width: auto; height: 2.5rem; line-height: calc(2.5rem - 2px); padding: 0 1.25rem;
  vertical-align: middle; text-align: center; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
  font-family: 'Courier New', monospace; letter-spacing: -0.025rem; font-size: 0.625em; font-weight: 400;
  color: #B8B8B8; border: solid 1px #000000; border-radius: 0;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

@media (max-width: 736px) {
  .inner { --pad-h: 2rem; --pad-v: 3.5rem; --spacing: 0.75rem; }
  .intro { letter-spacing: 0; width: 100%; }
  .intro:not(:first-child) { margin-top: 1.59375rem !important; }
  .intro:not(:last-child) { margin-bottom: 1.59375rem !important; }
  .chunk { letter-spacing: 0; width: 100%; }
  .links:not(:first-child) { margin-top: 1.59375rem !important; }
  .links:not(:last-child) { margin-bottom: 1.59375rem !important; }
}
@media (max-width: 480px) {
  .inner { --spacing: 0.65625rem; }
  .buttons { flex-direction: column; flex-wrap: nowrap; }
  .to-top { max-width: 32rem; width: 100%; }
}
@media (max-width: 360px) {
  .inner { --pad-h: 1.5rem; --pad-v: 2.625rem; --spacing: 0.5625rem; }
  .links { gap: 0.375rem; }
  .buttons { gap: 0.5625rem; }
}
