/* ═════════════════════════════════════════════════════════
   NATHAN JAMES PUBLISHING — SHARED STYLESHEET
   Paper · Ink · Burgundy · Gold. Editorial, not solar.
   ═════════════════════════════════════════════════════════ */

:root {
  --paper: #F4ECDD;
  --paper-soft: #E8DEC8;
  --paper-warm: #FBF3E1;
  --ink: #14100C;
  --ink-soft: #3C3126;
  --ink-fade: #6B5D4A;
  --burgundy: #6B1E24;
  --burgundy-bright: #9B2A32;
  --gold: #B08838;
  --gold-bright: #D4A24C;
  --gold-soft: rgba(212, 162, 76, 0.10);
  --rule: rgba(20, 16, 12, 0.14);
  --rule-strong: rgba(20, 16, 12, 0.28);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(rgba(20, 16, 12, 0.028) 1px, transparent 1px);
  background-size: 3px 3px;
}
a { color: var(--burgundy); text-decoration: none; border-bottom: 1px solid rgba(107, 30, 36, 0.28); transition: border-color .15s, color .15s; }
a:hover { color: var(--burgundy-bright); border-bottom-color: var(--burgundy-bright); }
a.clean { border-bottom: none; }
a.clean:hover { border-bottom: 1px solid var(--burgundy-bright); }

main { max-width: 900px; margin: 0 auto; padding: 32px 32px 80px; }
main.wide { max-width: 1080px; }

/* ═══════════ NAV ═══════════ */
.nav {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 32px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: none;
}
.nav__brand:hover { border-bottom: none; }
.nav__brand img {
  width: 40px;
  height: 40px;
  display: block;
}
.nav__wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
  border-bottom: none;
  letter-spacing: 0.01em;
}
.nav__wordmark em { font-style: normal; color: var(--burgundy); }
.nav__wordmark:hover { color: var(--burgundy); }

/* Hero seal — big prominent display on home */
.hero-seal {
  text-align: center;
  padding: 20px 20px 0;
  margin-bottom: -10px;
}
.hero-seal img {
  width: min(260px, 55vw);
  height: auto;
  display: inline-block;
}
.nav__links {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.nav__links a {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-fade);
  border-bottom: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.nav__links a:hover, .nav__links a.active {
  color: var(--burgundy);
  border-bottom-color: var(--gold);
}

/* ═══════════ MASTHEAD ═══════════ */
.mast { text-align: center; padding: 32px 0 44px; border-bottom: 1px solid var(--rule); margin-bottom: 52px; position: relative; }
.mast::before, .mast::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.mast::before { top: 14px; }
.mast::after { bottom: 18px; }
.mast__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.mast__h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 7.5vw, 74px);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.mast__h1 em { font-style: normal; color: var(--burgundy); }
.mast__tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.55;
}
.mast__llc {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 24px;
}

/* Positioning line — the site's one-sentence thesis */
.positioning {
  text-align: center;
  padding: 32px 20px 40px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 60px;
}
.positioning p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2.3vw, 25px);
  color: var(--ink);
  line-height: 1.4;
  max-width: 640px;
  margin: 0 auto;
}
.positioning p em { font-style: normal; color: var(--burgundy); }

/* ═══════════ SECTION SHELL ═══════════ */
section { margin-bottom: 70px; }
.sec-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.sec-h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.005em;
}
.sec-h2 em { font-style: normal; color: var(--burgundy); }
.sec-h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 12px;
}
.sec-h3 em { font-style: normal; color: var(--burgundy); }
.sec-lede { font-size: 17px; color: var(--ink-soft); max-width: 660px; margin-bottom: 30px; line-height: 1.7; }
.sec-body p { margin-bottom: 16px; color: var(--ink); line-height: 1.75; }
.sec-body p em { color: var(--burgundy); font-style: italic; }

/* ═══════════ FEATURED / TITLE CARDS ═══════════ */
.featured {
  background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 100%);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--burgundy);
  border-radius: 2px;
  padding: 42px 44px 38px;
  position: relative;
}
.featured__status {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-soft);
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 18px;
}
.featured__title {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 48px);
  font-style: italic;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 8px;
}
.featured__title em { font-style: normal; color: var(--burgundy); }
.featured__author {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.featured__desc { font-size: 16px; color: var(--ink); line-height: 1.75; margin-bottom: 14px; }
.featured__desc em { color: var(--burgundy); font-style: italic; }
.featured__buy {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 26px 0 10px;
}
.featured__buy a {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-warm);
  background: var(--burgundy);
  padding: 12px 20px;
  border-radius: 2px;
  border: none;
}
.featured__buy a:hover { background: var(--burgundy-bright); color: var(--paper-warm); }
.featured__buy a.ghost { background: transparent; color: var(--burgundy); border: 1px solid var(--burgundy); }
.featured__buy a.ghost:hover { background: var(--burgundy); color: var(--paper-warm); }
.featured__meta {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px dashed var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.featured__meta strong { color: var(--ink); font-weight: 700; }

/* ═══════════ IMPRINTS ═══════════ */
.imprints { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.imprint {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--imprint-color, var(--burgundy));
  padding: 22px 24px;
  border-radius: 2px;
}
.imprint__name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 10px;
}
.imprint__desc { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.imprint__desc strong { color: var(--ink); font-weight: 700; }

/* ═══════════ AUTHOR BLOCK ═══════════ */
.author-block {
  background: var(--paper-soft);
  border-left: 4px solid var(--gold);
  padding: 30px 36px;
  border-radius: 0 2px 2px 0;
}
.author-block__eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.author-block__name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  color: var(--ink);
  margin-bottom: 6px;
}
.author-block__realname {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.author-block__body { font-size: 15.5px; color: var(--ink); line-height: 1.75; }
.author-block__body p { margin-bottom: 12px; }
.author-block__body p:last-child { margin-bottom: 0; }

/* ═══════════ CONTACT ═══════════ */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.contact-card {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  padding: 22px 24px;
  border-radius: 2px;
}
.contact-card__eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.contact-card__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 10px;
}
.contact-card__body { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }
.contact-card__email {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--burgundy);
  margin-top: 10px;
  letter-spacing: 0.02em;
}

/* ═══════════ ROSTER STATUS WIDGET ═══════════ */
.roster {
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold);
  padding: 24px 30px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.roster__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4A7A3D;
  box-shadow: 0 0 0 4px rgba(74, 122, 61, 0.15);
  flex-shrink: 0;
}
.roster__dot.paused { background: var(--gold); box-shadow: 0 0 0 4px rgba(176, 136, 56, 0.15); }
.roster__dot.closed { background: var(--burgundy); box-shadow: 0 0 0 4px rgba(107, 30, 36, 0.15); }
.roster__text { flex: 1; }
.roster__status {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.roster__phrase {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  line-height: 1.4;
}
.roster__phrase em { font-style: normal; color: var(--burgundy); font-weight: 700; }

/* ═══════════ TIER CARDS (For Authors) ═══════════ */
.tiers { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
@media (min-width: 780px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier {
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--tier-color, var(--burgundy));
  padding: 26px 26px 30px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
}
.tier__num {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.tier__name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 6px;
}
.tier__name em { font-style: normal; color: var(--burgundy); }
.tier__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 22px;
  line-height: 1.5;
}
.tier__section {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--rule);
}
.tier__section:last-of-type { border-bottom: none; padding-bottom: 0; }
.tier__section-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.tier__section ul { list-style: none; padding: 0; margin: 0; }
.tier__section li {
  font-size: 14px;
  color: var(--ink);
  padding: 4px 0 4px 18px;
  position: relative;
  line-height: 1.5;
}
.tier__section li::before {
  content: "▪";
  color: var(--gold);
  position: absolute;
  left: 4px;
  top: 4px;
}
.tier__split {
  margin-top: auto;
  padding-top: 20px;
  border-top: 2px solid var(--tier-color, var(--burgundy));
}
.tier__split-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-fade);
  margin-bottom: 6px;
}
.tier__split-numbers {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
  line-height: 1.35;
}
.tier__split-numbers strong { font-style: normal; color: var(--burgundy); font-weight: 700; }

/* ═══════════ RATE CARD TABLE ═══════════ */
.rate-card {
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 24px 26px;
  overflow-x: auto;
}
.rate-card table { width: 100%; border-collapse: collapse; font-family: var(--serif); }
.rate-card th, .rate-card td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  vertical-align: top;
}
.rate-card th {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 14px;
}
.rate-card td:last-child, .rate-card th:last-child { text-align: right; font-family: var(--mono); font-size: 13px; color: var(--burgundy); }
.rate-card tr:last-child td { border-bottom: none; font-weight: 700; padding-top: 18px; }
.rate-card tr.total td {
  border-top: 2px solid var(--ink);
  border-bottom: none;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  padding-top: 18px;
}
.rate-card tr.total td:last-child { color: var(--burgundy); font-weight: 700; font-size: 17px; }

/* ═══════════ LEDGER ═══════════ */
.ledger {
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold);
  padding: 26px 30px;
  border-radius: 2px;
}
.ledger__meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.ledger__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px; margin-top: 22px; }
.ledger__cell {
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 2px;
}
.ledger__cell-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-fade);
  margin-bottom: 8px;
}
.ledger__cell-value {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  color: var(--burgundy);
  line-height: 1.15;
}
.ledger__cell-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 6px;
  line-height: 1.4;
}
.ledger__note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--rule);
  line-height: 1.6;
}

/* ═══════════ CONTRACT PROSE ═══════════ */
.contract {
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 40px 44px;
  font-size: 15.5px;
  line-height: 1.75;
}
.contract h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--burgundy);
  margin: 34px 0 12px;
  padding-top: 26px;
  border-top: 1px dashed var(--rule);
}
.contract h3:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.contract p { margin-bottom: 14px; color: var(--ink); }
.contract ul { list-style: none; padding: 0; margin: 12px 0 14px; }
.contract li {
  padding: 6px 0 6px 24px;
  position: relative;
  line-height: 1.65;
  color: var(--ink);
}
.contract li::before {
  content: "§";
  color: var(--gold);
  position: absolute;
  left: 4px;
  top: 6px;
  font-style: italic;
  font-weight: 700;
}
.contract .section-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.contract em { color: var(--burgundy); font-style: italic; }
.contract strong { color: var(--ink); font-weight: 700; }

/* ═══════════ CTA STRIP ═══════════ */
.cta-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 40px 44px;
  border-radius: 2px;
  text-align: center;
  margin: 40px 0;
}
.cta-strip h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--paper);
  margin-bottom: 10px;
  font-weight: 400;
}
.cta-strip h3 em { font-style: normal; color: var(--gold-bright); }
.cta-strip p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--paper-soft);
  max-width: 520px;
  margin: 0 auto 22px;
  line-height: 1.55;
}
.cta-strip a.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold-bright);
  padding: 14px 26px;
  border-radius: 2px;
  border: none;
}
.cta-strip a.btn:hover { background: var(--paper-warm); color: var(--ink); }

/* ═══════════ CATALOG ROW ═══════════ */
.catalog-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 720px) { .catalog-row { grid-template-columns: 180px 1fr; gap: 30px; } }
.catalog-row:last-child { border-bottom: none; }
.catalog-row__meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.9;
}
.catalog-row__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.2;
}
.catalog-row__title em { font-style: normal; color: var(--burgundy); }
.catalog-row__desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ═══════════ RULES / CALLOUTS ═══════════ */
.rules-list {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  padding: 26px 30px;
  border-radius: 2px;
  margin-top: 30px;
}
.rules-list__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.rules-list ul { list-style: none; padding: 0; margin: 0; }
.rules-list li {
  padding: 10px 0 10px 26px;
  position: relative;
  line-height: 1.65;
  border-bottom: 1px dashed var(--rule);
  font-size: 15px;
  color: var(--ink);
}
.rules-list li:last-child { border-bottom: none; }
.rules-list li::before {
  content: "◆";
  color: var(--gold);
  position: absolute;
  left: 4px;
  top: 11px;
  font-size: 9px;
}
.rules-list li strong { color: var(--burgundy); font-weight: 700; }

/* ═══════════ FOOTER ═══════════ */
footer {
  border-top: 1px solid var(--rule);
  margin-top: 40px;
  padding-top: 32px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.9;
}
footer strong { color: var(--ink); }
footer .divider { color: var(--gold); padding: 0 8px; }
footer .footer-nav {
  margin: 14px 0;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
footer .footer-nav a {
  color: var(--ink-fade);
  border-bottom: none;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  font-size: 10px;
}
footer .footer-nav a:hover { color: var(--burgundy); border-bottom-color: var(--gold); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 640px) {
  main { padding: 24px 22px 60px; }
  .nav { padding: 16px 22px 4px; }
  .featured { padding: 30px 26px 26px; }
  .author-block { padding: 24px 22px; }
  .featured__meta { gap: 14px; }
  .contract { padding: 28px 24px; }
  .roster { padding: 20px 22px; }
  .cta-strip { padding: 32px 22px; }
  .rate-card { padding: 18px 12px; }
  .rate-card th, .rate-card td { padding: 10px 8px; font-size: 13.5px; }
}
