/* package fonts (woff2, copied into dist/assets/fonts) */
@font-face { font-family: 'Oranienbaum'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/oranienbaum-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/newsreader-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/newsreader-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/newsreader-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/newsreader-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/newsreader-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/newsreader-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/newsreader-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/newsreader-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/newsreader-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/newsreader-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/newsreader-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/newsreader-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/newsreader-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/newsreader-latin-800-normal.woff2") format("woff2"); }
/* generated block: satellite design tokens (light) */
:root {
  --bg-light-base: #ebe7dc;
  --fg-light-base-body: #1f1d1a;
  --fg-light-base-heading: #1b2c50;
  --fg-light-base-muted: #504c45;
  --fg-light-base-link: #8c1d2d;
  --fg-light-base-inverse: #2b2823;
  --bg-light-card: #dfdacb;
  --fg-light-card-body: #1f1d1a;
  --fg-light-card-heading: #1b2c50;
  --fg-light-card-muted: #504c45;
  --fg-light-card-link: #8c1d2d;
  --fg-light-card-inverse: #2b2823;
  --bg-light-elevated: #f4f1e8;
  --fg-light-elevated-body: #1f1d1a;
  --fg-light-elevated-heading: #1b2c50;
  --fg-light-elevated-muted: #504c45;
  --fg-light-elevated-link: #8c1d2d;
  --fg-light-elevated-inverse: #2b2823;
  --brand-light-accent: #8c1d2d;
  --brand-light-accent-hover: #1b2c50;
  --brand-light-on-accent: #f4f1e8;
  --focus-light-ring: #8c1d2d;
  --border-light-default: #1b2c50;
  --border-light-subtle: #b3ad9f;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
/* component rules: semantic carriers and renderer-owned behaviours */
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* package stylesheet (verbatim; model-owned rules win by source order) */
/* Passaic Pain Journal: medical journal broadsheet */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.62;
  font-optical-sizing: auto;
  font-kerning: normal;
  font-variant-numeric: oldstyle-nums;
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; }

h1 {
  font-family: 'Oranienbaum', 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.02;
  color: var(--fg-heading);
}

h2 { font-size: 1.35rem; margin: 2rem 0 0.6rem; color: var(--fg-heading); }
h3 { font-size: 1.12rem; margin: 1.5rem 0 0.4rem; color: var(--fg-heading); }

p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin-bottom: 0.35rem; }

a { text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

img { display: block; }

figure { margin: 0 0 1.5rem; }
.photo-hero img, .photo-inline img {
  width: 100%;
  border-top: 1px solid var(--border-light-default);
  border-bottom: 1px solid var(--border-light-default);
  padding: 0.35rem 0;
}

/* ---------- Masthead: centred nameplate over a heavy-thin rule ---------- */

.masthead { padding: 1.25rem 1rem 0; }

.masthead-bar {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.nameplate {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding-bottom: 0.9rem;
  text-decoration: none;
  color: var(--fg-heading);
}

.nameplate .site-logo { width: 36px; height: 36px; flex: none; }

.nameplate-name {
  font-family: 'Oranienbaum', 'Times New Roman', serif;
  font-size: clamp(1.45rem, 4.6vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
}

.masthead-nav {
  width: 100%;
  border-top: 5px solid var(--border-light-default);
  border-bottom: 1px solid var(--border-light-default);
}

.section-row {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.section-row li { margin: 0; display: flex; align-items: center; }

.section-row li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin: 0 0.8rem;
  background: var(--border-light-default);
  transform: rotate(45deg);
}

.section-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1.05rem;
  font-style: italic;
  text-decoration: none;
}

.section-row a:hover { text-decoration: underline; }

.site-menu > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  font-style: italic;
  font-size: 1.05rem;
}

.site-menu > ul {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0 0 0.5rem;
  list-style: none;
  text-align: left;
  border-top: 1px solid var(--border-light-subtle);
}

.site-menu > ul li { margin: 0; border-bottom: 1px solid var(--border-light-subtle); }

.site-menu > ul a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-family: 'Oranienbaum', 'Times New Roman', serif;
  font-size: 1.3rem;
  text-decoration: none;
}

.site-menu > ul a:hover { text-decoration: underline; }

@media (min-width: 560px) {
  .site-menu > ul { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}

@media (min-width: 900px) {
  .masthead { padding-top: 1.75rem; }
  .nameplate .site-logo { width: 44px; height: 44px; }
  .section-row { display: flex; }
  .site-menu { display: none; }
}

/* ---------- Sheet ---------- */

.sheet {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0.9rem 0 0;
  font-size: 0.9rem;
}

.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; padding: 0 0.5rem; color: var(--fg-muted); }

/* ---------- Front page ---------- */

.front-nameplate {
  text-align: center;
  padding: 2rem 0 1.25rem;
  border-bottom: 1px solid var(--border-light-default);
}

.front-nameplate h1 {
  font-size: clamp(2.4rem, 8.5vw, 5.75rem);
  max-width: 18ch;
  margin: 0 auto;
}

.issue-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding: 0.45rem 0;
  border-bottom: 3px double var(--border-light-default);
  font-size: 0.9rem;
  font-style: italic;
}

.issue-strip p { margin: 0; }

.lead-story {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--border-light-default);
  margin-bottom: 1.75rem;
}

.lead-head {
  font-family: 'Oranienbaum', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  line-height: 1.04;
  max-width: 20ch;
  margin: 0 0 1.25rem;
}

.lead-deck {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
}

.lead-deck p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.45;
  font-style: italic;
}

@media (min-width: 720px) {
  .lead-deck { grid-template-columns: 1fr 1fr; gap: 0 2rem; }
  .lead-deck p + p { border-left: 1px solid var(--border-light-subtle); padding-left: 2rem; }
}

.front-columns > p:first-of-type {
  font-size: 1.15rem;
  line-height: 1.55;
}

.front-columns > p:last-of-type {
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--brand-light-accent);
  border-top: 1px solid var(--brand-light-accent);
  border-bottom: 1px solid var(--brand-light-accent);
  padding: 0.75rem 0;
  break-inside: avoid;
}

@media (min-width: 760px) {
  .front-columns {
    column-count: 2;
    column-gap: 3rem;
    column-rule: 1px solid var(--border-light-subtle);
  }
  .front-columns > figure { column-span: all; }
  .front-columns h2 { break-after: avoid; }
  .front-columns > h2:first-of-type,
  .front-columns > figure + p + h2 { margin-top: 0; }
}

/* ---------- Article ---------- */

.article { max-width: 46rem; margin: 0 auto; }

.article-head {
  padding: 2rem 0 1rem;
  border-bottom: 3px double var(--border-light-default);
  margin-bottom: 1.75rem;
}

.article-head h1 { font-size: clamp(2.2rem, 6vw, 3.9rem); max-width: 18ch; }

.article-dateline {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  font-variant-caps: small-caps;
  letter-spacing: 0.04em;
}

.article-text { counter-reset: section; }

.article-text h2 { counter-increment: section; }

.article-text h2::before {
  content: counter(section) ".";
  display: inline-block;
  min-width: 1.6em;
  color: var(--brand-light-accent);
  font-variant-numeric: lining-nums;
}

.article-text > p:first-of-type {
  background: var(--bg-light-card);
  border-top: 2px solid var(--border-light-default);
  border-bottom: 1px solid var(--border-light-default);
  padding: 1rem 1.15rem;
  font-size: 1rem;
  line-height: 1.55;
}

.article-text > p:last-of-type {
  margin: 2rem 0 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--brand-light-accent);
  border-bottom: 1px solid var(--brand-light-accent);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--brand-light-accent);
}

.article-text section[data-section] {
  background-size: cover;
  background-position: center;
  padding: 2.5rem 1rem;
  margin: 1.5rem 0;
}

.article-text section[data-section] > div { padding: 0.25rem 1.25rem 0.5rem; }

/* ---------- Section front ---------- */

.section-head {
  padding: 2rem 0 1rem;
  border-top: 6px solid var(--border-light-default);
  margin-top: 1.25rem;
  border-bottom: 1px solid var(--border-light-default);
  margin-bottom: 1.5rem;
}

.section-head h1 { font-size: clamp(2.2rem, 6.5vw, 4.4rem); max-width: 20ch; }

.section-grid { display: grid; gap: 2rem; }

.section-text { max-width: 44rem; }

.section-text ul { list-style: none; padding: 0; border-top: 1px solid var(--border-light-default); }

.section-text ul li {
  padding: 0.7rem 0;
  margin: 0;
  border-bottom: 1px solid var(--border-light-subtle);
}

.section-text ul li a { font-weight: 600; }

.section-index {
  border-top: 3px double var(--border-light-default);
  padding-top: 0.5rem;
}

.section-index h2 { font-size: 1.05rem; margin: 0 0 0.5rem; font-style: italic; font-weight: 500; }

.section-index ul { list-style: none; padding: 0; margin: 0; }

.section-index li {
  margin: 0;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-light-subtle);
  line-height: 1.3;
}

.section-index li::before {
  content: "Passaic, N.J.";
  display: block;
  font-size: 0.82rem;
  font-variant-caps: small-caps;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  margin-bottom: 0.15rem;
}

.section-index a {
  font-family: 'Oranienbaum', 'Times New Roman', serif;
  font-size: 1.3rem;
  text-decoration: none;
}

.section-index a:hover { text-decoration: underline; }

@media (min-width: 880px) {
  .section-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 3rem; }
  .section-index { border-left: 1px solid var(--border-light-subtle); padding-left: 1.5rem; border-top: 0; padding-top: 0; }
}

/* ---------- Editorial board ---------- */

.board-head {
  text-align: center;
  padding: 2rem 0 1.25rem;
  border-bottom: 3px double var(--border-light-default);
  margin-bottom: 2rem;
}

.board-head h1 { font-size: clamp(2rem, 5vw, 3rem); }

.board-statement {
  font-family: 'Oranienbaum', 'Times New Roman', serif;
  font-size: clamp(1.6rem, 4.4vw, 2.8rem);
  line-height: 1.08;
  max-width: 22ch;
  margin: 1rem auto 0.5rem;
}

.board-sub { font-style: italic; margin: 0; }

@media (min-width: 760px) {
  .board-columns {
    column-count: 2;
    column-gap: 3rem;
    column-rule: 1px solid var(--border-light-subtle);
  }
  .board-columns h2 { break-after: avoid; }
  .board-columns > h2:first-child { margin-top: 0; }
  .board-columns > figure { column-span: all; }
}

/* ---------- Letters (contact) ---------- */

.letters-head {
  padding: 2rem 0 1rem;
  border-bottom: 3px double var(--border-light-default);
  margin-bottom: 1.75rem;
}

.letters-head h1 { font-size: clamp(2.2rem, 6vw, 3.9rem); }

.letters-grid { display: grid; gap: 2rem; }

.letters-text { max-width: 40rem; }

.letters-panel {
  border: 4px double var(--border-light-default);
  padding: 1.25rem;
  align-self: start;
}

.letters-panel h2 { margin: 0 0 0.35rem; }

.letters-fields { display: grid; gap: 1rem; margin: 1rem 0 1.25rem; }

.field label { display: block; font-weight: 600; margin-bottom: 0.3rem; }

.field input {
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.65rem;
  font: inherit;
  color: var(--fg-body);
  background: var(--bg-light-elevated);
  border: 1px solid var(--border-light-default);
  border-radius: 0;
}

.field input:focus-visible {
  outline: 2px solid var(--focus-light-ring);
  outline-offset: 2px;
}

.letters-submit {
  min-height: 44px;
  padding: 0.6rem 1.25rem;
  font: inherit;
  font-weight: 600;
  color: var(--brand-light-on-accent);
  background: var(--brand-light-accent);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.letters-submit:hover { background: var(--brand-light-accent-hover); }

@media (min-width: 600px) {
  .letters-fields { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .letters-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 3rem; }
}

/* ---------- Correction notice (thank you) ---------- */

.notice { padding: 3rem 0 1rem; }

.notice-box {
  max-width: 38rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 1rem;
  border: 1px solid var(--border-light-default);
  border-top: 8px solid var(--border-light-default);
}

.notice-box h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); margin-bottom: 1rem; }

.notice-text h2 { font-size: 1.1rem; margin-top: 1.25rem; }

.notice-return {
  margin: 1.25rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light-default);
}

/* ---------- Colophon ---------- */

.colophon {
  border-top: 3px double var(--border-light-default);
  padding: 1.5rem 1rem 2.5rem;
  font-size: 0.92rem;
}

.colophon-line { max-width: 72rem; margin: 0 auto 0.75rem; font-style: italic; }

.colophon-links {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
}

.colophon-links a { display: inline-flex; align-items: center; min-height: 44px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
