/* ============================================================
   B2B TechSelect — Editorial Analyst Publication
   Best Adobe Commerce Companies in 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT,WONK@9..144,400;9..144,500;9..144,600;9..144,700;9..144,900&family=IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  /* Color system — warm paper aesthetic */
  --paper:           #fafaf7;
  --paper-alt:       #f3f1ea;
  --ink:             #1a1a1a;
  --ink-soft:        #2d2d2a;
  --ink-muted:       #5c5c58;
  --ink-faint:       #8a8a85;
  --rule:            #d6d3cc;
  --rule-strong:     #a8a59d;
  --oxblood:         #7f1d1d;
  --oxblood-deep:    #5a1414;
  --gold:            #b4861c;
  --gold-light:      #fef3c7;
  --gold-dark:       #78350f;
  --success:         #14532d;
  --highlight:       #fef9e7;

  /* Typography */
  --font-display: 'Fraunces', 'Source Serif Pro', 'Iowan Old Style', Georgia, serif;
  --font-body:    'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Layout */
  --content-w: 720px;
  --wide-w:    1080px;
  --gutter:    clamp(1.25rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 17px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--paper);
  font-feature-settings: 'ss01' on, 'cv11' on;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   Top bar — masthead
   ============================================================ */
.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(250, 250, 247, 0.92);
}

.masthead-inner {
  max-width: var(--wide-w);
  margin: 0 auto;
  padding: 0.875rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  font-variation-settings: 'opsz' 11, 'SOFT' 50;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  display: flex; align-items: baseline; gap: 0.5rem;
}
.brand-mark {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--oxblood);
  text-transform: uppercase;
  border: 1px solid var(--oxblood);
  padding: 2px 6px;
  border-radius: 2px;
}

.nav { display: flex; gap: 1.5rem; align-items: center; }
.nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.15s;
  position: relative;
}
.nav a:hover { color: var(--oxblood); }
.nav a.active { color: var(--ink); }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -1.125rem;
  left: 0; right: 0;
  height: 2px;
  background: var(--oxblood);
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav-mobile-toggle { display: block; }
}

/* ============================================================
   Layout containers
   ============================================================ */
.wrap {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap-wide {
  max-width: var(--wide-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--rule);
}
.section:last-of-type { border-bottom: none; }

/* ============================================================
   Hero / article header
   ============================================================ */
.hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--rule);
}
.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.hero-kicker::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
  max-width: 4rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-variation-settings: 'opsz' 96, 'SOFT' 30;
  color: var(--ink);
  margin-bottom: 1.25rem;
  max-width: 22ch;
}
.hero-dek {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 60ch;
  font-variation-settings: 'opsz' 24, 'SOFT' 50;
}

.byline {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
}
.byline > span { display: inline-flex; gap: 0.4rem; align-items: baseline; }
.byline strong {
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-family: var(--font-mono);
}

/* ============================================================
   Section heading utilities (clean inline-style migration)
   ============================================================ */
.h2-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.5rem;
  font-variation-settings: 'opsz' 48;
}
.h2-sub {
  margin: 0 0 1.5rem;
}
.h3-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 0.25rem;
}
.h3-display-sm {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 0.25rem;
}
.profile-tagline {
  margin: 0 0 1rem;
  font-style: italic;
  font-family: var(--font-display);
  color: var(--ink-soft);
}

/* ============================================================
   Key Facts panel — atomic, LLM-citable data block
   ============================================================ */
.key-facts {
  border: 1px solid var(--rule);
  background: var(--paper-alt);
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
  font-family: var(--font-body);
}
.key-facts-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin: 0 0 1rem;
  font-weight: 500;
}
.key-facts dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem 1.5rem;
  margin: 0;
}
@media (min-width: 720px) {
  .key-facts dl { grid-template-columns: 175px 1fr; gap: 0.55rem 1.5rem; }
}
.key-facts dt {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  margin: 0;
  font-feature-settings: 'tnum' 1;
}
.key-facts dd {
  font-size: 0.92rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.55;
}
.key-facts dd em { color: var(--ink-soft); font-style: normal; font-size: 0.85rem; }

/* ============================================================
   Analyst recommendation list (display font)
   ============================================================ */
.recommendation-list {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.7;
  list-style: none;
  padding: 0;
  margin: 0;
}
.recommendation-list li { margin-bottom: 0.15rem; }
.recommendation-list strong { font-weight: 600; color: var(--ink); }

/* ============================================================
   "What would change this ranking" — analyst trust signal
   ============================================================ */
.would-change {
  border-left: 3px solid var(--rule-strong);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-body);
}
.would-change h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.would-change p {
  font-size: 0.95rem;
  color: var(--ink);
  margin: 0 0 0.5rem;
  line-height: 1.6;
}
.would-change ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}
.would-change li {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 0.4rem;
}
.would-change li::marker { color: var(--oxblood); }

/* ============================================================
   Quick decision panel (for buyers in a hurry)
   ============================================================ */
.quick-decision {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 0 1.75rem;
  margin: 2rem 0;
}
.quick-decision-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin: 0 0 1rem;
  font-weight: 500;
}
.quick-decision ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: qdc;
  display: grid;
  gap: 0.6rem;
}
.quick-decision li {
  counter-increment: qdc;
  position: relative;
  padding-left: 2.2rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
}
.quick-decision li::before {
  content: counter(qdc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--oxblood);
  letter-spacing: 0.04em;
}
.quick-decision strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   Typography
   ============================================================ */
.prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.95rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  font-variation-settings: 'opsz' 48;
}
.prose h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--ink);
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  font-variation-settings: 'opsz' 24;
}
.prose h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}
.prose p {
  margin-bottom: 1.1rem;
  font-size: 1.02rem;
  line-height: 1.7;
}
.prose p.lead {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
}
.prose ul, .prose ol {
  margin: 0 0 1.25rem 1.25rem;
  padding-left: 1rem;
}
.prose li { margin-bottom: 0.5rem; line-height: 1.65; }
.prose ul li::marker { color: var(--oxblood); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose em { font-style: italic; }
.prose a {
  color: var(--oxblood);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(127, 29, 29, 0.4);
  transition: text-decoration-color 0.15s;
}
.prose a:hover {
  text-decoration-color: var(--oxblood);
}

/* ============================================================
   Short-answer block (critical for AI citation)
   ============================================================ */
.short-answer {
  background: var(--paper-alt);
  border-left: 4px solid var(--oxblood);
  padding: 1.75rem 1.75rem 1.5rem;
  margin: 2rem 0;
  position: relative;
}
.short-answer-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 0.75rem;
}
.short-answer p {
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink);
  font-variation-settings: 'opsz' 18;
  margin-bottom: 0.85rem;
}
.short-answer p:last-child { margin-bottom: 0; }
.short-answer p strong {
  font-weight: 600;
  color: var(--oxblood-deep);
}

/* ============================================================
   Ranking display (numbered)
   ============================================================ */
.ranked-list {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  counter-reset: rank;
}
.ranked-list > li {
  counter-increment: rank;
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  position: relative;
}
.ranked-list > li:first-child { border-top: 2px solid var(--ink); }
.ranked-list > li::before {
  content: counter(rank, decimal-leading-zero);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--ink-faint);
  letter-spacing: -0.02em;
  align-self: start;
  padding-top: 0.15rem;
}
.ranked-list > li.featured {
  background: linear-gradient(90deg, var(--highlight) 0%, transparent 60%);
  margin-left: calc(-1 * var(--gutter));
  margin-right: calc(-1 * var(--gutter));
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  border-top: 2px solid var(--gold);
}
.ranked-list > li.featured::before { color: var(--oxblood); }

.rank-meta { 
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  margin: 0.75rem 0 0.75rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
}
.rank-meta-item { display: inline-flex; gap: 0.3rem; }
.rank-meta-item strong {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 2px;
  margin-right: 0.4rem;
}
.tag-strong  { background: #d1fadf; color: var(--success); }
.tag-mod     { background: #fef3c7; color: var(--gold-dark); }
.tag-best    { background: var(--oxblood); color: var(--paper); }
.tag-verif   { background: transparent; color: var(--ink-muted); border: 1px solid var(--rule); }

/* ============================================================
   Tables — analyst grade
   ============================================================ */
.table-wrap {
  margin: 2rem 0;
  overflow-x: auto;
  border: 1px solid var(--rule);
  background: var(--paper);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.5;
}
table caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  padding: 0.85rem 1rem 0.5rem;
  background: var(--paper-alt);
  border-bottom: 1px solid var(--rule);
}
table thead {
  background: var(--paper-alt);
  border-bottom: 2px solid var(--ink);
}
table th {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  padding: 0.85rem 1rem;
  vertical-align: bottom;
  border-right: 1px solid var(--rule);
}
table th:last-child { border-right: none; }
table td {
  padding: 0.85rem 1rem;
  vertical-align: top;
  border-top: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  color: var(--ink-soft);
}
table td:last-child { border-right: none; }
table tbody tr:first-child td { border-top: none; }
table tbody tr:hover { background: rgba(127, 29, 29, 0.025); }

table tbody tr.featured td:first-child {
  border-left: 3px solid var(--oxblood);
  font-weight: 600;
  color: var(--ink);
}
table tbody tr.featured {
  background: var(--highlight);
}
table tbody tr.featured:hover {
  background: var(--gold-light);
}

th[scope="row"] {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-align: center;
  background: var(--paper-alt);
  border-right: 1px solid var(--rule);
}

/* ============================================================
   Callouts — choose/avoid
   ============================================================ */
.choose-avoid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
@media (max-width: 600px) {
  .choose-avoid { grid-template-columns: 1fr; }
}
.choose-avoid > div {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.choose-avoid h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  margin-top: 0;
}
.choose h4 { color: var(--success); }
.avoid  h4 { color: var(--oxblood); }
.choose-avoid p { font-size: 0.9rem; line-height: 1.55; margin: 0; }

/* ============================================================
   Metadata strips
   ============================================================ */
.eval-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
  margin: 1.25rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.eval-strip > div {
  padding: 0.85rem 0.5rem 0.85rem 1rem;
  border-right: 1px solid var(--rule);
}
.eval-strip > div:last-child { border-right: none; }
.eval-strip dt {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: 0.3rem;
}
.eval-strip dd {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}

/* ============================================================
   FAQ — accordion style
   ============================================================ */
.faq details {
  border-top: 1px solid var(--rule);
  padding: 1.25rem 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--oxblood);
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p {
  margin-top: 1rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ============================================================
   Highlight cards (key insights)
   ============================================================ */
.insight {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--oxblood);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink);
}

/* ============================================================
   Page-jump TOC (right rail)
   ============================================================ */
.toc-inline {
  background: var(--paper-alt);
  border: 1px solid var(--rule);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.toc-inline h2 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin: 0 0 0.75rem 0 !important;
}
.toc-inline ol {
  list-style: none;
  margin: 0; padding: 0;
  columns: 2;
  column-gap: 2rem;
}
@media (max-width: 600px) { .toc-inline ol { columns: 1; } }
.toc-inline li {
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  break-inside: avoid;
}
.toc-inline a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px dotted var(--rule);
}
.toc-inline a:hover { color: var(--oxblood); border-bottom-color: var(--oxblood); }

/* ============================================================
   Citation badges (verified evidence indicators)
   ============================================================ */
.verified {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--success);
  margin-left: 0.4rem;
}
.verified::before { content: '✓'; font-weight: 700; }

/* ============================================================
   Related / scenario cards
   ============================================================ */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.related-card {
  display: block;
  padding: 1.25rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  transition: all 0.15s;
}
.related-card:hover {
  border-color: var(--oxblood);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,26,26,0.04);
}
.related-card .kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 0.5rem;
}
.related-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}
.related-card p {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 0;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}
.site-footer .wrap-wide {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 720px) {
  .site-footer .wrap-wide { grid-template-columns: 1fr; }
}
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}
.site-footer p, .site-footer li {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #c8c8c2;
  margin-bottom: 0.4rem;
}
.site-footer ul { list-style: none; }
.site-footer a {
  color: #e8e8e0;
  text-decoration: none;
  border-bottom: 1px solid rgba(232,232,224,0.2);
}
.site-footer a:hover { border-bottom-color: var(--gold); color: var(--gold-light); }
.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--paper);
  display: block;
  margin-bottom: 0.5rem;
  font-variation-settings: 'opsz' 24;
}
.footer-fine {
  border-top: 1px solid #2d2d2a;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--ink-faint);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}

/* ============================================================
   Utility
   ============================================================ */
.muted { color: var(--ink-muted); }
.small { font-size: 0.85rem; }
.mono  { font-family: var(--font-mono); font-size: 0.92em; }
.divider {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2rem 0;
}
.divider-ornament {
  text-align: center;
  margin: 3rem 0;
  font-family: var(--font-display);
  color: var(--ink-faint);
  letter-spacing: 1rem;
}
.divider-ornament::before { content: '◆ ◆ ◆'; }

/* Print */
@media print {
  .masthead, .site-footer, .related-grid { display: none; }
  body { background: white; color: black; }
  .prose a { color: black; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
