/* MIMIRROR JOURNAL — Production Craft Editorial Media Styles (CSP-strict, zero inline styles) */

.journal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.journal-lead-wide {
  max-width: 700px;
}

.journal-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.cat-pill {
  border: 1.5px solid var(--rule-strong);
  background: #ffffff;
  color: var(--ink-soft);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.14s ease, color 0.14s ease, background 0.14s ease;
}
.cat-pill:hover { border-color: var(--brand); color: var(--brand); }
.cat-pill.active {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
  box-shadow: 2px 3px 0 #fae6ad;
}

/* Featured Article Spread */
.feature-card {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 28px;
  background: #ffffff;
  border: 2px solid var(--ink);
  box-shadow: 7px 8px 0 #fae6ad;
  padding: 28px 30px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.14s ease;
}
.feature-card:hover { transform: translate(-2px, -2px); }
.feature-title {
  font-size: 23px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--ink);
  margin: 12px 0 10px;
  letter-spacing: -0.02em;
}
.feature-excerpt {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.feature-visual {
  background: var(--cream-band);
  border: 1.5px solid var(--rule-strong);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.feature-art-pair {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
}
.feature-arch-left { width: 98px; height: 118px; transform: rotate(-3deg); }
.feature-arch-right { width: 98px; height: 118px; transform: rotate(3deg); }
.feature-visual-cap {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--ink-soft);
  text-align: center;
}

/* Article Grid Cards */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.article-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1.5px solid var(--ink);
  box-shadow: 4px 5px 0 var(--rule);
  padding: 22px 24px 20px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.article-card:hover {
  transform: translate(-1.5px, -1.5px);
  box-shadow: 6px 7px 0 #fae6ad;
}
.article-card.is-hidden { display: none; }
.art-cat-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 4px;
  background: #e6f0ec;
  color: var(--brand);
}
.art-cat-badge.plum { background: #f1e6f8; color: var(--plum); }
.art-cat-badge.cream { background: #fae6ad; color: var(--ink); }
.art-card-h {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.48;
  color: var(--ink);
  margin: 10px 0 8px;
}
.art-card-p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.art-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--rule-strong);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-mute);
}
.art-meta-row.flat { border-top: none; padding-top: 0; }
.art-read-more { color: var(--brand); font-weight: 900; }

/* Section spacing helpers (zero inline styles) */
.journal-sec-mt { margin-top: 34px; }
.journal-cta-compact { padding: 9px 16px; font-size: 13px; }
.journal-body-band { padding-top: 26px; }
.journal-callout-top { margin-top: 0; margin-bottom: 28px; }
.journal-prose-top { padding-top: 0; }
.journal-prose-top > h2:first-child { margin-top: 0; }
.journal-related-wrap { margin-top: 34px; }
.journal-related-h { font-size: 16px; font-weight: 900; margin-bottom: 14px; }

/* Long-Form Article Layout */
.article-shell { max-width: 760px; margin: 0 auto; }
.article-header { padding: 36px 0 30px; border-bottom: 1px solid var(--rule); }
.article-h1 {
  font-size: 29px;
  font-weight: 900;
  line-height: 1.38;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 12px 0 14px;
}
.article-lead { font-size: 15.5px; line-height: 1.85; color: var(--ink-soft); }
.article-byline {
  margin-top: 18px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--rule-strong);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-soft);
}
.byline-author { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); }
.byline-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand); color: #faf7f0;
  font-size: 11px; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Table of Contents Box */
.toc-box {
  margin: 28px 0 32px;
  padding: 20px 24px;
  background: #ffffff;
  border: 2px solid var(--ink);
  box-shadow: 5px 6px 0 #fae6ad;
}
.toc-box-title {
  font-size: 13.5px; font-weight: 900; color: var(--brand);
  letter-spacing: 0.04em; margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.toc-box ol { padding-left: 20px; display: flex; flex-direction: column; gap: 7px; }
.toc-box li { font-size: 13.5px; line-height: 1.55; font-weight: 700; color: var(--ink-soft); }
.toc-box a { color: var(--ink); text-decoration: none; }
.toc-box a:hover { color: var(--brand); text-decoration: underline; }

/* Article Prose */
.prose { padding: 16px 0 40px; }
.prose h2 {
  font-size: 22px; font-weight: 900; line-height: 1.4; color: var(--ink);
  margin: 42px 0 16px; padding: 10px 0 10px 16px;
  border-left: 5px solid var(--brand); border-bottom: 1.5px solid var(--rule-strong);
  letter-spacing: -0.015em;
}
.prose h3 { font-size: 17.5px; font-weight: 900; line-height: 1.45; color: var(--ink); margin: 26px 0 10px; }
.prose p { font-size: 15.5px; line-height: 1.95; color: var(--ink); margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 20px 22px; }
.prose li { font-size: 15px; line-height: 1.85; color: var(--ink-soft); margin-bottom: 8px; }
.prose li strong { color: var(--ink); }

/* Callout / Point Box */
.callout-box {
  margin: 24px 0;
  padding: 20px 22px;
  background: var(--cream-band);
  border-left: 4px solid var(--plum);
  border-top: 1px solid var(--rule-strong);
  border-right: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}
.callout-title { font-size: 14px; font-weight: 900; color: var(--plum); margin-bottom: 8px; }
.callout-box p { font-size: 14px; line-height: 1.8; margin-bottom: 0; color: var(--ink); }

/* Editorial Comparison Table */
.ed-table-wrap {
  margin: 22px 0 26px;
  overflow-x: auto;
  border: 2px solid var(--ink);
  background: #ffffff;
  box-shadow: 5px 6px 0 var(--rule);
}
.ed-table { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.65; }
.ed-table th {
  background: var(--cream-band); color: var(--ink); font-weight: 900;
  text-align: left; padding: 12px 16px;
  border-bottom: 2px solid var(--ink); border-right: 1px solid var(--rule-strong);
}
.ed-table td {
  padding: 13px 16px; border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule); vertical-align: top; color: var(--ink-soft);
}
.ed-table th:last-child, .ed-table td:last-child { border-right: none; }
.ed-table tr:last-child td { border-bottom: none; }
.ed-table td strong { color: var(--ink); }
.ed-col-20 { width: 20%; }
.ed-col-24 { width: 24%; }
.ed-col-28 { width: 28%; }
.ed-col-33 { width: 33%; }
.ed-col-38 { width: 38%; }
.ed-col-40 { width: 40%; }
.ed-col-45 { width: 45%; }

/* Notebook Memo & Quote Card (for self-vs-others-gap) */
.notebook-memo {
  margin: 22px 0;
  background-color: #ffffff;
  background-image:
    linear-gradient(to right, rgba(36, 78, 69, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(36, 78, 69, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  border: 2px solid var(--ink);
  box-shadow: 6px 7px 0 #fae6ad;
}
.nb-head {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 2px solid var(--ink); background: var(--cream-band);
}
.nb-head div { padding: 13px 20px; font-size: 14px; font-weight: 900; color: var(--ink); border-right: 2px solid var(--ink); }
.nb-head div:last-child { border-right: none; color: var(--plum); }
.nb-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px dashed var(--rule-strong); }
.nb-row:last-child { border-bottom: none; }
.nb-cell { padding: 15px 20px; font-size: 14px; line-height: 1.75; font-weight: 700; color: var(--ink); border-right: 2px solid var(--ink); }
.nb-cell:last-child { border-right: none; color: var(--ink-soft); font-weight: 600; }

.quote-card {
  margin: 20px 0 24px;
  background: var(--brand); color: #faf7f0;
  border: 2px solid #16322c; box-shadow: 6px 7px 0 #d9d0be;
  padding: 24px 28px; font-size: 17px; font-weight: 900; line-height: 1.75;
}

.axis-panel {
  margin: 22px 0 26px;
  background: #ffffff; border: 2px solid var(--ink);
  box-shadow: 5px 6px 0 var(--rule); padding: 10px 22px;
}
.bar-w-72 { width: 72%; }
.bar-w-28 { width: 28%; }
.bar-w-35 { width: 35%; }
.bar-w-65 { width: 65%; }
.bar-w-32 { width: 32%; }
.bar-w-68 { width: 68%; }
.bar-w-50 { width: 50%; }
.tick-44 { left: 44%; }
.tick-31 { left: 31%; }
.tick-28 { left: 28%; }
.tick-42 { left: 42%; }

/* Johari Window 2x2 Grid */
.johari-grid {
  margin: 24px 0 28px;
  display: grid; grid-template-columns: 1fr 1fr;
  border: 2px solid var(--ink); background: #ffffff;
  box-shadow: 6px 7px 0 #fae6ad;
}
.johari-cell { padding: 20px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.johari-cell:nth-child(2n) { border-right: none; }
.johari-cell:nth-child(n+3) { border-bottom: none; }
.johari-cell.highlight { background: #f8effb; }
.johari-tag { font-size: 11px; font-weight: 900; color: var(--brand); letter-spacing: 0.04em; }
.johari-cell.highlight .johari-tag { color: var(--plum); }
.johari-name { font-size: 17px; font-weight: 900; color: var(--ink); margin: 4px 0 8px; }
.johari-desc { font-size: 13px; line-height: 1.7; color: var(--ink-soft); }

/* High-Contrast Bridge CTA (Media -> Diagnostic App) */
.bridge-cta {
  margin: 34px 0;
  padding: 24px 26px;
  background: var(--brand);
  color: #faf7f0;
  border: 2px solid #16322c;
  box-shadow: 6px 7px 0 #d9d0be;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
.bridge-kicker { font-size: 11.5px; font-weight: 900; color: #fae6ad; letter-spacing: 0.04em; margin-bottom: 6px; }
.bridge-h { font-size: 18.5px; font-weight: 900; color: #ffffff; line-height: 1.4; margin-bottom: 6px; }
.bridge-p, .prose .bridge-p, .bridge-cta p {
  font-size: 13.5px;
  line-height: 1.75;
  color: #f4f0e6;
  margin: 0;
}
.bridge-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fae6ad; color: #1e2d29; text-decoration: none;
  font-size: 13.5px; font-weight: 900; padding: 13px 20px;
  border-radius: 8px; box-shadow: 3px 4px 0 #142c27; white-space: nowrap;
}
.bridge-btn:hover { transform: translate(-1px, -1px); }

/* Author E-E-A-T Box */
.author-box {
  margin-top: 36px; padding: 20px 22px;
  background: var(--paper-deep); border: 1.5px solid var(--rule-strong);
  display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start;
}
.author-avatar {
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--brand); color: #fae6ad;
  font-weight: 900; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.author-name { font-size: 14px; font-weight: 900; color: var(--ink); margin-bottom: 4px; }
.author-bio { font-size: 12.5px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 8px; }
.author-links { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; font-weight: 800; }
.author-links a { color: var(--brand); text-decoration: none; }
.author-links a:hover { text-decoration: underline; }

/* 16-Character Directory & Detail Hero */
.char-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.char-card {
  display: flex; flex-direction: column; justify-content: space-between;
  background: #ffffff; border: 1.5px solid var(--ink);
  box-shadow: 4px 5px 0 var(--rule); padding: 16px;
  text-decoration: none; color: inherit; transition: transform 0.14s ease;
}
.char-card:hover { transform: translate(-1.5px, -1.5px); box-shadow: 5px 6px 0 #fae6ad; }
.char-card.featured-brand { border-color: var(--brand); box-shadow: 5px 6px 0 #fae6ad; }
.char-card.featured-plum { border-color: var(--plum); box-shadow: 5px 6px 0 #fae6ad; }
.char-card.is-hidden { display: none; }
.char-code { font-family: "Arial Black", system-ui, sans-serif; font-size: 20px; font-weight: 900; color: var(--brand); }
.char-card.plum .char-code { color: var(--plum); }
.char-name { font-size: 13.5px; font-weight: 900; color: var(--ink); margin: 4px 0 6px; }
.char-snippet { font-size: 12px; line-height: 1.65; color: var(--ink-soft); margin-bottom: 10px; }
.char-status { font-size: 11px; font-weight: 900; color: var(--brand); }
.char-status.plum { color: var(--plum); }
.char-status.muted { color: var(--ink-mute); font-weight: 700; }

.char-hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 32px; align-items: center; }
.char-sticker-box { max-width: 224px; margin: 0 auto; transform: rotate(2deg); }
.char-sticker-box.tilt-left { transform: rotate(-2deg); }
.char-x-banner { margin-top: 34px; }
.char-x-h { font-size: 22px; font-weight: 900; color: #ffffff; margin: 14px 0 10px; }
.char-x-p { font-size: 14px; line-height: 1.85; color: #f4f0e6; }

/* News Single-Page Timeline */
.news-list { border-top: 2px solid var(--ink); }
.news-item {
  display: grid; grid-template-columns: 126px 1fr; gap: 18px;
  padding: 20px 6px; border-bottom: 1px solid var(--rule-strong); align-items: baseline;
}
.news-date { font-size: 12.5px; font-weight: 900; color: var(--brand); font-variant-numeric: tabular-nums; }
.news-h { font-size: 16px; font-weight: 900; color: var(--ink); margin-bottom: 6px; }
.news-p { font-size: 13.5px; line-height: 1.75; color: var(--ink-soft); }
.news-link { color: var(--brand); font-weight: 800; }

@media (max-width: 760px) {
  .feature-card, .article-grid, .johari-grid, .bridge-cta, .char-grid, .news-item, .char-hero-grid, .nb-head, .nb-row {
    grid-template-columns: 1fr;
  }
  .feature-card { padding: 20px 18px; }
  .article-h1 { font-size: 22px; }
  .prose h2 { font-size: 18.5px; }
  .johari-cell { border-right: none; border-bottom: 1.5px solid var(--ink); }
  .johari-cell:last-child { border-bottom: none; }
  .nb-head div, .nb-cell { border-right: none; border-bottom: 1px solid var(--rule); padding: 12px 14px; }
  .quote-card { font-size: 15px; padding: 18px; }
  .bridge-cta { padding: 20px 18px; }
  .bridge-btn { width: 100%; }
  .char-sticker-box { max-width: 176px; }
}
