/* ==========================================================
   The Mailer Review — HTML Galley Stylesheet
   Version 1.0
   Adopted January 2026
   Typeface: Alegreya Serif + Alegreya SC
   ========================================================== */

/* ---------- Font Faces ---------- */

@font-face {
  font-family: "Alegreya";
  src: url("/public/fonts/Alegreya-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Alegreya";
  src: url("/public/fonts/Alegreya-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Alegreya";
  src: url("/public/fonts/Alegreya-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Alegreya SC";
  src: url("/public/fonts/AlegreyaSC-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Alegreya SC";
  src: url("/public/fonts/AlegreyaSC-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

/* ---------- Base Layout ---------- */

:root {
  font-size: 18px;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Alegreya", Georgia, serif;
  line-height: 1.6;
  color: #111;
  background: #fff;
}

main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.75rem 1.5rem;
}

/* ---------- Header ---------- */

header {
  margin-bottom: 2.5rem;
}

header .journal {
  font-family: "Alegreya SC", serif;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 0.25rem;
}

header h1 {
  font-family: "Alegreya", serif;
  font-size: 2.25rem;
  line-height: 1.2;
  margin: 0.25rem 0 0.5rem;
}

header .byline {
  font-size: 1.05rem;
  margin: 0;
}

header .publine {
  font-size: 0.95rem;
  margin: 0.5rem 0 0;
}

/* ---------- Body Text ---------- */

section[aria-label="Full text"] p {
  margin: 0 0 1.15rem;
}

section[aria-label="Full text"] p strong {
  font-weight: 700;
}

/* ---------- Section Headings ---------- */

h2 {
  font-family: "Alegreya SC", serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 2.25rem 0 0.75rem;
}

/* ---------- Small-Caps Metadata ---------- */

.publine,
.reviewed-work h2,
footer p {
  font-family: "Alegreya SC", serif;
  letter-spacing: 0.05em;
}

/* ---------- Editorial Rhetorical Opener ---------- */

.opener {
  font-family: "Alegreya SC", serif;
  letter-spacing: 0.04em;
  font-weight: 700;
}


/* ---------- Block Quotations ---------- */

blockquote {
  margin: 1.5rem 2rem;
}

/* ---------- Notes ---------- */

.notes {
  margin-top: 3rem;
  font-size: 0.95rem;
}

.notes ol {
  padding-left: 1.25rem;
}

.notes li {
  margin-bottom: 0.75rem;
}

.note-ref {
  vertical-align: super;
  font-size: 0.8em;
  text-decoration: none;
}

.note-back {
  margin-left: 0.5rem;
  text-decoration: none;
}

/* ---------- Signature ---------- */

.sig {
  margin-top: 2.5rem;
}

.sig p {
  margin: 0.25rem 0;
}

/* ---------- Footer ---------- */

footer {
  margin-top: 3.5rem;
  font-size: 0.9rem;
  border-top: 1px solid #ddd;
  padding-top: 1rem;
}

/* ---------- Accessibility ---------- */

a {
  color: inherit;
}

a:focus {
  outline: 2px solid #666;
}

/* ---------- Reviewed Work Panel (Stylized) ---------- */

.reviewed-work {
  margin: 2rem 0 0;
  padding: 1.25rem 1.5rem;
  border: 1px solid #ccc;
  background: #fdfdfb;
}

.reviewed-work h2 {
  font-family: "Alegreya SC", serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.reviewed-work p {
  margin: 0.4rem 0;
}


/* ---------- Utility ---------- */

.small {
  font-size: 0.95rem;
}

