/* ---------------------------------------------------------
   TUFTE FEATURED REPORT - THE POWER CURVE
   Palette: Midnight Navy (#0a2540), Slate (#4B5563),
   Power Curve Coral (#F26D5B)
   Typography: Minion Pro for report reading, Instrument Sans for UI
--------------------------------------------------------- */

:root {
  --pc-midnight: #0a2540;
  --pc-navy-2: #112a47;
  --pc-slate: #4b5563;
  --pc-slate-2: #667085;
  --pc-orange: #f26d5b;
  --pc-orange-dark: #e85f4f;
  --pc-bg: #fdfbf8;
  --pc-paper: #ffffff;
  --pc-line: #e2e8f0;
  --pc-line-strong: rgba(10, 37, 64, 0.18);
  --pc-note-line: rgba(10, 37, 64, 0.22);
  --pc-orange-line: rgba(242, 109, 91, 0.48);

  --pc-font:
    "Instrument Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --pc-serif:
    "Minion Pro Display", "Minion Pro", "Minion 3", "Iowan Old Style",
    "Palatino Linotype", Palatino, Georgia, serif;

  --pc-header-offset: 96px;
  --pc-grid-max: 1296px;
  --pc-toc-width: 190px;
  --pc-body-max: 820px;
  --pc-notes-width: 230px;
  --pc-grid-gap: 36px;
}

.pc-tufte-report {
  background:
    radial-gradient(
      circle at top left,
      rgba(242, 109, 91, 0.035),
      transparent 36rem
    ),
    linear-gradient(180deg, #fff 0%, var(--pc-bg) 100%);
  color: var(--pc-midnight);
  font-family: var(--pc-font);
  min-height: 100vh;
}

.pc-report-shell {
  display: grid;
  grid-template-columns:
    minmax(170px, var(--pc-toc-width)) minmax(0, var(--pc-body-max))
    minmax(200px, var(--pc-notes-width));
  column-gap: var(--pc-grid-gap);
  max-width: var(--pc-grid-max);
  margin: 0 auto;
  padding: 56px 28px 88px;
  align-items: start;
}

/* Left skinny TOC */

.pc-report-toc {
  position: relative;
  min-width: 0;
}

.pc-report-toc__inner {
  position: sticky;
  top: var(--pc-header-offset);
  min-height: calc(100vh - var(--pc-header-offset) - 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--pc-line);
  padding-right: 18px;
}

.pc-report-toc__primary {
  min-width: 0;
}

.pc-report-toc__eyebrow {
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  line-height: 1.15;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--pc-slate-2);
}

.pc-report-toc__nav {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  padding-top: 0.1rem;
  border-top: 1px solid rgba(10, 37, 64, 0.1);
}

.pc-report-toc__link {
  display: grid;
  grid-template-columns: 1.8rem 1fr;
  gap: 0.46rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  padding: 0.52rem 0.35rem 0.52rem 0.62rem;
  margin-left: -0.62rem;
  border-left: 2px solid transparent;
  color: var(--pc-slate);
  text-decoration: none;
  font-size: 1.35rem;
  line-height: 1.25;
  font-weight: 560;
  overflow-wrap: break-word;
  white-space: normal;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.pc-report-toc__link:hover,
.pc-report-toc__link:focus-visible {
  background: rgba(10, 37, 64, 0.035);
  color: var(--pc-midnight);
}
.pc-report-toc__link.is-active {
  background: rgba(242, 109, 91, 0.07);
  color: var(--pc-orange);
  border-left-color: var(--pc-orange);
  font-weight: 750;
}
.pc-report-toc__number {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: inherit;
}
.pc-report-toc__text {
  color: inherit;
  min-width: 0;
  white-space: normal;
}
/* Sub-section (h3) entries sit indented under their h2. */
.pc-report-toc__link--sub {
  padding-left: 1.7rem;
}
.pc-report-toc__link--sub .pc-report-toc__number {
  color: var(--pc-slate);
  opacity: 0.6;
}

.pc-report-toc__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 32px;
  padding-top: 24px;
}

.pc-report-toc__action {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--pc-slate);
  text-decoration: none;
  font: inherit;
  font-size: 0.69rem;
  line-height: 1.2;
  font-weight: 650;
  cursor: pointer;
}

.pc-report-toc__action:hover {
  color: var(--pc-orange);
}

/* Main column */

.pc-report-main {
  min-width: 0;
  max-width: var(--pc-body-max);
}

/* Hero band — dark serif field, in the spirit of the homepage feature */
.pc-report-hero {
  width: 100%;
  /* Top (#0a2236) equals the header's bottom; the field darkens monotonically
     through the boundary so the header and hero read as one section. */
  background: linear-gradient(180deg, #0a2236 0%, #07182c 100%);
  color: #fff;
  font-family: var(--pc-serif);
}

/* Post header carries the same gradient, ending on #0a2540 — the hero's top —
   so header and hero read as one continuous field. Specificity (1,2,2) clears
   the shared `html body #site-header.site-header !important` (1,1,2) navy rule. */
html body.post-template #site-header.site-header {
  background: linear-gradient(180deg, #0e2e4c 0%, #0a2236 100%) !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.pc-report-hero__inner {
  display: grid;
  grid-template-columns:
    minmax(170px, var(--pc-toc-width)) minmax(0, var(--pc-body-max))
    minmax(200px, var(--pc-notes-width));
  column-gap: var(--pc-grid-gap);
  max-width: var(--pc-grid-max);
  margin: 0 auto;
  padding: clamp(3.6rem, 6vw, 6.6rem) 28px clamp(2.8rem, 4.5vw, 4.4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pc-report-hero__copy {
  grid-column: 2;
}

/* Each variant matches its shell's max-width so hero copy always lands
   on the same horizontal column as the body text beneath it. */
.pc-report-no-toc .pc-report-hero__inner {
  grid-template-columns: minmax(0, var(--pc-body-max)) minmax(
      200px,
      var(--pc-notes-width)
    );
  max-width: calc(
    var(--pc-body-max) + var(--pc-notes-width) + var(--pc-grid-gap) + 56px
  );
}

.pc-report-no-toc .pc-report-hero__copy {
  grid-column: 1;
}

.pc-report-no-toc.pc-report-no-notes .pc-report-hero__inner {
  grid-template-columns: minmax(0, var(--pc-body-max));
  max-width: calc(var(--pc-body-max) + 56px);
}

/* has TOC but no notes rail: mirror the 2-col shell */
.pc-report-no-notes:not(.pc-report-no-toc) .pc-report-hero__inner {
  grid-template-columns: minmax(170px, var(--pc-toc-width)) minmax(
      0,
      var(--pc-body-max)
    );
  max-width: calc(
    var(--pc-toc-width) + var(--pc-body-max) + var(--pc-grid-gap) + 56px
  );
}

.pc-report-kicker {
  margin-bottom: 2rem;
  font-size: 1.18rem;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--pc-feature-accent, #ec6651);
}

.pc-report-title {
  max-width: 18ch;
  margin: 0;
  color: #fff;
  font-family: var(--pc-serif);
  font-size: clamp(4rem, 6vw, 8rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 600;
  text-wrap: balance;
}

.pc-report-dek {
  max-width: 52ch;
  margin: 2.2rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--pc-serif);
  font-size: clamp(1.9rem, 1.5vw, 2.3rem);
  line-height: 1.5;
  letter-spacing: 0;
  font-weight: 400;
}

.pc-report-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 3rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.pc-report-share-strip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.4rem;
}

.pc-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--pc-font);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 140ms,
    color 140ms;
}

.pc-share-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.pc-report-meta span[aria-hidden] {
  color: rgba(255, 255, 255, 0.28);
}

.pc-report-feature-image {
  margin: 0 0 2.5rem;
}
.pc-report-feature-image img {
  display: block;
  width: 100%;
  height: auto;
}
.pc-report-feature-image figcaption {
  margin-top: 0.75rem;
  color: var(--pc-slate);
  font-size: 0.78rem;
  line-height: 1.45;
}

/* Body content */

.pc-report-content,
.pc-report-content ul,
.pc-report-content ol,
.pc-report-content li {
  font-family: var(--pc-serif);
}
.pc-report-content {
  color: var(--pc-midnight);
  font-size: 1.9rem;
  line-height: 1.6;
  letter-spacing: 0;
  font-weight: 450;
}

.pc-report-content > * {
  max-width: 100%;
}
.pc-report-content p {
  margin: 0 0 1.25rem;
}
.pc-report-content strong,
.pc-report-content b {
  font-weight: 750;
}
.pc-report-content em {
  font-style: italic;
}

.pc-report-content a {
  color: var(--pc-coral);
  font-weight: 500;
  text-decoration-color: rgba(242, 109, 91, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}
.pc-report-content a:hover {
  color: var(--pc-orange);
  text-decoration-color: var(--pc-orange);
}

.pc-report-content h2,
.pc-report-content h3,
.pc-report-content h4 {
  font-family: var(--pc-serif);
  color: var(--pc-midnight);
  letter-spacing: 0;
  line-height: 1.08;
  scroll-margin-top: 120px;
}
.pc-report-content h2 {
  margin: 3.6rem 0 1.2rem;
  font-size: 3rem;
  font-weight: 650;
}
.pc-report-content h3 {
  margin: 2.6rem 0 0.9rem;
  font-size: 1.95rem;
  font-weight: 650;
}
.pc-report-content h4 {
  margin: 2rem 0 0.65rem;
  font-size: 1.18rem;
  font-weight: 680;
  letter-spacing: 0;
}

.pc-report-content ul,
.pc-report-content ol {
  margin: 1rem 0 1.5rem 1.25rem;
  padding: 0;
}
.pc-report-content li {
  margin-bottom: 0.46rem;
  padding-left: 0.25rem;
}
.pc-report-content li::marker {
  color: var(--pc-orange);
}

.pc-report-lede {
  font-size: 1.32rem;
  line-height: 1.48;
  letter-spacing: 0;
  font-weight: 520;
}

/* Why it matters */

.pc-why-it-matters,
.why-it-matters-box {
  margin: 2rem 0 2.35rem;
  padding: 1.55rem 1.65rem;
  background: rgba(253, 251, 248, 0.92);
  border-left: 2px solid var(--pc-orange);
  border-top: 1px solid var(--pc-line);
  border-bottom: 1px solid var(--pc-line);
}
.pc-why-it-matters h2,
.pc-why-it-matters h3,
.why-it-matters-box h2,
.why-it-matters-box h3 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  line-height: 1.2;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--pc-midnight);
  font-weight: 800;
}
.pc-why-it-matters p:last-child,
.why-it-matters-box p:last-child {
  margin-bottom: 0;
}

/* Findings grid */

.pc-findings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 2rem 0 2.5rem;
  border-top: 1px solid var(--pc-line);
  border-bottom: 1px solid var(--pc-line);
}
.pc-finding {
  padding: 1rem 1.1rem 1.1rem;
  border-right: 1px solid var(--pc-line);
  border-bottom: 1px solid var(--pc-line);
}
.pc-finding:nth-child(3n) {
  border-right: none;
}
.pc-finding:nth-last-child(-n + 3) {
  border-bottom: none;
}
.pc-finding__number {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--pc-orange);
  font-family: var(--pc-font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.pc-finding__title {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--pc-midnight);
  font-family: var(--pc-font);
  font-size: 0.85rem;
  line-height: 1.25;
  font-weight: 780;
}
.pc-finding p {
  margin: 0;
  color: var(--pc-midnight);
  font-size: 0.82rem;
  line-height: 1.38;
}

/* Exhibits */

.pc-report-content figure,
.pc-exhibit,
.kg-image-card,
.kg-gallery-card {
  margin: 2.35rem 0;
}
.pc-exhibit,
.kg-image-card {
  font-family: var(--pc-font);
  padding-top: 0.9rem;
}
.pc-exhibit-label {
  margin-bottom: 0.7rem;
  font-family: var(--pc-font);
}

.pc-exhibit-label__number {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--pc-orange);
  font-size: 0.92rem;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.pc-exhibit-label__title {
  color: var(--pc-midnight);
  font-size: 1.7rem;
  line-height: 1.25;
  font-weight: 650;
}

/* Sample-exhibit cards: the shared label/title sizing is scoped to a different
   post template, leaving the coral "Exhibit N" tag at ~7px and the title small
   on the report (tufte) template. Restore prominence here. */
.pc-tufte-report .pc-sample-exhibit__label {
  display: block !important;
  margin: 0 0 0.5rem !important;
  color: var(--pc-orange) !important;
  font-size: 1.4rem !important;
  font-weight: 820 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
}
.pc-tufte-report .pc-sample-exhibit__header h3 {
  margin: 0 0 0.25rem !important;
  color: var(--pc-midnight) !important;
  font-size: 2rem !important;
  line-height: 1.2 !important;
  font-weight: 680 !important;
}

.pc-exhibit__label,
.pc-report-content figure > figcaption strong:first-child {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--pc-orange);
  font-family: var(--pc-font);
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 850;
}
.pc-exhibit img,
.pc-exhibit svg,
.pc-report-content figure img,
.pc-report-content figure svg,
.kg-image-card img {
  display: block;
  width: 100%;
  height: auto;
}
.pc-report-content figcaption,
.kg-image-card figcaption,
.kg-gallery-card figcaption {
  margin-top: 0.8rem;
  color: var(--pc-slate);
  font-family: var(--pc-font);
  font-size: 0.8rem;
  line-height: 1.45;
  font-weight: 450;
  text-align: left;
}
.pc-exhibit__open,
.pc-lightbox-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.6rem;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--pc-slate);
  font-family: var(--pc-font);
  font-size: 0.74rem;
  line-height: 1.2;
  font-weight: 650;
  cursor: pointer;
}
.pc-exhibit__open:hover,
.pc-lightbox-trigger:hover {
  color: var(--pc-orange);
}

/* Tables */
.pc-report-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-family: var(--pc-font);
  font-size: 0.86rem;
  line-height: 1.35;
}
.pc-report-content th {
  color: var(--pc-midnight);
  font-size: 0.68rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  text-align: left;
  border-top: 2px solid var(--pc-midnight);
  border-bottom: 1px solid var(--pc-line-strong);
  padding: 0.65rem 0.6rem 0.65rem 0;
}
.pc-report-content td {
  border-bottom: 1px solid var(--pc-line);
  padding: 0.68rem 0.6rem 0.68rem 0;
  vertical-align: top;
}

/* Pull quotes */
.pc-report-content blockquote {
  margin: 2.8rem 0;
  padding: 1.4rem 2rem 1.4rem 2rem;
  border-left: none;
  border-radius: 4px;
  background: #e8edf8;
  color: var(--pc-midnight);
  font-family: var(--pc-serif);
  font-size: inherit;
  line-height: inherit;
  letter-spacing: 0;
  font-weight: 400;
  font-style: normal;
}
.pc-report-content blockquote p {
  margin-bottom: 0.75rem;
}

/* References */
.pc-report-content sup,
.sup-ref {
  color: var(--pc-orange);
  font-weight: 800;
  font-size: 0.65em;
  line-height: 0;
  cursor: pointer;
}
.pc-report-content sup a {
  color: var(--pc-orange);
  text-decoration: none;
}

/* Right rail */
.pc-report-notes {
  min-width: 0;
  border-left: 1px solid var(--pc-line);
  padding-left: 28px;
  font-family: var(--pc-font);
}

.pc-tufte-report.pc-report-no-notes .pc-report-shell {
  grid-template-columns: minmax(170px, var(--pc-toc-width)) minmax(
      0,
      var(--pc-body-max)
    );
  max-width: calc(
    var(--pc-toc-width) + var(--pc-body-max) + var(--pc-grid-gap) + 56px
  );
}

.pc-tufte-report.pc-report-no-notes .pc-report-notes {
  display: none;
}

/* research-report / strategy-memo layouts: collapse to 2-col when no notes */
.pc-tufte-report.pc-report-no-notes .report-layout {
  grid-template-columns: 240px minmax(0, 1fr);
}
.pc-tufte-report.pc-report-no-notes .strategy-memo-layout {
  grid-template-columns: 220px minmax(0, 1fr);
}

/* No h2/h3 sections: drop the contents column. */
.pc-tufte-report.pc-report-no-toc .pc-report-toc {
  display: none;
}
.pc-tufte-report.pc-report-no-toc .pc-report-shell {
  grid-template-columns: minmax(0, var(--pc-body-max)) minmax(
      200px,
      var(--pc-notes-width)
    );
  max-width: calc(
    var(--pc-body-max) + var(--pc-notes-width) + var(--pc-grid-gap) + 56px
  );
}
/* No sections and no notes: a single centered reading column. */
.pc-tufte-report.pc-report-no-toc.pc-report-no-notes .pc-report-shell {
  grid-template-columns: minmax(0, var(--pc-body-max));
  max-width: calc(var(--pc-body-max) + 56px);
}
.pc-report-notes__inner {
  padding-right: 4px;
}
.pc-report-notes__label {
  margin-bottom: 1.2rem;
  color: var(--pc-slate-2);
  font-size: 0.82rem;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 650;
}

#pc-report-margin-notes {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.pc-margin-note,
.pc-sidenote,
.pc-source-note,
.pc-analyst-note,
.pc-definition-note,
.pc-watch-note,
.pc-footnote-note {
  margin: 0 0 1.55rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--pc-note-line);
  color: var(--pc-slate);
  font-size: 1.35rem;
  line-height: 1.45;
  font-weight: 450;
}

#pc-report-footnote-notes {
  margin-top: 0;
}

#pc-report-footnote-notes:empty {
  display: none;
}

#pc-report-margin-notes:not(:empty) + #pc-report-footnote-notes {
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(10, 37, 64, 0.14);
}

.pc-margin-note strong:first-child,
.pc-sidenote strong:first-child,
.pc-source-note strong:first-child,
.pc-analyst-note strong:first-child,
.pc-definition-note strong:first-child,
.pc-watch-note strong:first-child,
.pc-footnote-note strong:first-child,
.pc-note-label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--pc-midnight);
  font-size: 0.66rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 850;
}
.pc-analyst-note,
.pc-watch-note {
  border-top-color: var(--pc-orange-line);
}
.pc-analyst-note strong:first-child,
.pc-watch-note strong:first-child {
  color: var(--pc-orange);
}
.pc-footnote-note {
  font-family: var(--pc-serif);
  font-size: 1.35rem;
  font-weight: 400;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.48rem;
  align-items: start;
}
.pc-footnote-note__number {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 0.9rem;
  color: var(--pc-orange);
  font-family: var(--pc-font);
  font-size: 0.7rem;
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  transform: translateY(-0.05rem);
}
.pc-footnote-note__number:hover,
.pc-footnote-note__number:focus-visible {
  color: var(--pc-midnight);
}
.pc-footnote-note p {
  margin: 0 0 0.6rem;
}
.pc-footnote-note p:last-child {
  margin-bottom: 0;
}

.pc-report-content .pc-margin-note,
.pc-report-content .pc-sidenote,
.pc-report-content .pc-source-note,
.pc-report-content .pc-analyst-note,
.pc-report-content .pc-definition-note,
.pc-report-content .pc-watch-note {
  display: none;
}

.pc-report-content .footnotes,
/* End-of-essay citations: shown in content at all breakpoints */
.pc-report-content section.footnotes,
.pc-report-content .footnotes {
  margin-top: 3.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--pc-line);
  color: var(--pc-slate);
  font-size: 1.35rem;
  line-height: 1.5;
}
.pc-report-content section.footnotes ol,
.pc-report-content .footnotes ol {
  padding-left: 2.2rem;
}
.pc-report-content section.footnotes li,
.pc-report-content .footnotes li {
  margin-bottom: 0.6rem;
}
/* Hide only the manual hand-authored lists + headings that were moved to rail */
.pc-report-content h2.is-moved-to-margin,
.pc-report-content ol.is-moved-to-margin,
.pc-report-content ul.is-moved-to-margin {
  display: none;
}
/* On desktop: the Ghost .footnotes section stays visible (both rail + end) */
/* On mobile (≤860px): the rail is gone; .footnotes already shows in content */

/* Footer */
.pc-report-footer {
  margin-top: 4rem;
}
.pc-report-footer__rule {
  height: 1px;
  background: var(--pc-line);
  margin-bottom: 1.25rem;
}
.pc-report-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.pc-report-tags a {
  color: var(--pc-slate);
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font-size: 0.92rem;
  line-height: 1.1;
  text-decoration: none;
  font-weight: 600;
}
.pc-report-tags a:hover {
  color: var(--pc-orange);
  border-color: var(--pc-orange-line);
}

/* Lightbox */
.pc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vw;
  background: rgba(10, 37, 64, 0.88);
}
.pc-lightbox.is-open {
  display: flex;
}
.pc-lightbox__close {
  position: fixed;
  top: 24px;
  right: 28px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: transparent;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.pc-lightbox__frame {
  max-width: min(96vw, 1500px);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  padding: clamp(16px, 2vw, 28px);
}
.pc-lightbox__image {
  display: block;
  max-width: 100%;
  height: auto;
}
.pc-lightbox__caption {
  margin-top: 0.8rem;
  color: var(--pc-slate);
  font-family: var(--pc-font);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Author apparatus + related reading, stacked below the report body. */
.pc-report-after {
  margin-top: 3.5rem;
}

/* Mobile TOC — collapsible strip above the article at ≤1180px */
.pc-report-toc__toggle {
  display: none;
}

@media (max-width: 1180px) {
  .pc-report-shell {
    grid-template-columns: minmax(0, 760px) minmax(230px, 260px);
    column-gap: 40px;
    max-width: 1080px;
  }
  .pc-report-toc {
    display: none;
  }
  /* Floating collapsible TOC strip */
  .pc-report-toc-mobile {
    display: block;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 28px;
  }
  .pc-report-toc-mobile summary.pc-report-toc__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.8rem;
    background: rgba(10, 37, 64, 0.05);
    border: 1px solid rgba(10, 37, 64, 0.18);
    border-radius: 8px;
    cursor: pointer;
    list-style: none;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pc-slate);
  }
  .pc-report-toc-mobile summary.pc-report-toc__toggle::marker,
  .pc-report-toc-mobile summary.pc-report-toc__toggle::-webkit-details-marker {
    display: none;
  }
  .pc-report-toc-mobile summary.pc-report-toc__toggle::after {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.55;
    margin-top: -0.4rem;
    transition:
      transform 200ms ease,
      margin-top 200ms ease;
    flex-shrink: 0;
  }
  .pc-report-toc-mobile[open] summary.pc-report-toc__toggle::after {
    transform: rotate(-135deg);
    margin-top: 0.3rem;
  }
  .pc-report-toc-mobile .pc-report-toc__inner {
    padding: 0.8rem 1.8rem 1.8rem;
    border: 1px solid rgba(10, 37, 64, 0.18);
    border-top: none;
    border-radius: 0 0 8px 8px;
  }
  .pc-report-toc-mobile .pc-report-toc__nav {
    border-top: none;
    padding-top: 0;
  }
  .pc-report-toc-mobile .pc-report-toc__link {
    padding: 0.75rem 0.35rem 0.75rem 0.62rem;
    font-size: 1.45rem;
  }
  .pc-report-hero__inner {
    max-width: 1080px;
    grid-template-columns: minmax(0, 760px) minmax(230px, 260px);
    column-gap: 40px;
  }
  .pc-report-hero__copy {
    grid-column: 1;
  }
}

@media (max-width: 860px) {
  .pc-report-shell {
    display: block;
    max-width: 760px;
    padding: 36px 20px 64px;
  }
  .pc-report-main {
    max-width: none;
  }
  .pc-report-hero__inner {
    display: block;
    max-width: 760px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .pc-report-content h2 {
    font-size: 2.15rem;
  }
  .pc-report-meta {
    gap: 0.7rem;
    font-size: 1.05rem;
  }
  .pc-findings-grid {
    grid-template-columns: 1fr;
  }
  .pc-finding,
  .pc-finding:nth-child(3n),
  .pc-finding:nth-last-child(-n + 3) {
    border-right: none;
    border-bottom: 1px solid var(--pc-line);
  }
  .pc-finding:last-child {
    border-bottom: none;
  }
  /* No margin rail on mobile: relocated notes are hidden and the original
     in-flow notes/footnotes are restored to normal reading order below. */
  .pc-report-notes {
    display: none;
  }
  .pc-report-content .pc-margin-note,
  .pc-report-content .pc-sidenote,
  .pc-report-content .pc-source-note,
  .pc-report-content .pc-analyst-note,
  .pc-report-content .pc-definition-note,
  .pc-report-content .pc-watch-note {
    display: block;
    margin: 1.25rem 0;
  }
  .pc-report-content .footnotes.is-moved-to-margin,
  .pc-report-content section.footnotes.is-moved-to-margin,
  .pc-report-content h2.is-moved-to-margin,
  .pc-report-content ol.is-moved-to-margin,
  .pc-report-content ul.is-moved-to-margin {
    display: block;
  }

  #pc-report-margin-notes {
    gap: 0.65rem;
  }
}

@media (max-width: 520px) {
  .pc-report-shell {
    padding-left: 16px;
    padding-right: 16px;
  }
  .pc-report-content {
    font-size: 1.55rem;
    line-height: 1.62;
  }
  .pc-report-hero__inner {
    padding-left: 16px;
    padding-right: 16px;
  }
  .pc-report-content h2 {
    font-size: 1.9rem;
  }
  .pc-report-content h3 {
    font-size: 1.35rem;
  }
  .pc-report-lede {
    font-size: 1.12rem;
  }
  .pc-report-content blockquote {
    padding: 1.2rem 1.4rem;
  }
  .pc-why-it-matters,
  .why-it-matters-box {
    padding: 1.2rem 1.1rem;
  }
  .pc-report-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Thin grey section divider — overrides any ghost/cards.css three-dot treatment */
.pc-report-content hr,
.pc-report-content .kg-hr-card,
.pc-report-content .kg-card.kg-hr-card {
  display: block !important;
  height: 1px !important;
  border: none !important;
  background: rgba(10, 37, 64, 0.12) !important;
  margin-block: clamp(3.2rem, 4.5vw, 5.6rem) !important;
  max-width: 100% !important;
}
.pc-report-content hr::before,
.pc-report-content hr::after {
  content: none !important;
}

@media print {
  .pc-report-toc,
  .pc-report-notes,
  .pc-lightbox,
  .pc-exhibit__open,
  .pc-lightbox-trigger {
    display: none !important;
  }
  .pc-report-shell {
    display: block;
    max-width: 720px;
    padding: 0;
  }
  .pc-tufte-report {
    background: #fff;
  }
}
