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

: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-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__eyebrow {
  margin-bottom: 28px;
  font-size: 0.66rem;
  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.15rem;
}

.pc-report-toc__link {
  display: grid;
  grid-template-columns: 1.55rem 1fr;
  gap: 0.36rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 0 0.5rem 0.5rem;
  margin-left: -0.5rem;
  border-left: 2px solid transparent;
  color: var(--pc-slate);
  text-decoration: none;
  font-size: 0.74rem;
  line-height: 1.24;
  font-weight: 520;
  overflow-wrap: break-word;
  white-space: normal;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.pc-report-toc__link:hover {
  color: var(--pc-midnight);
}
.pc-report-toc__link.is-active {
  color: var(--pc-orange);
  border-left-color: var(--pc-orange);
  font-weight: 750;
}
.pc-report-toc__number {
  font-variant-numeric: tabular-nums;
  color: inherit;
}
.pc-report-toc__text {
  color: inherit;
  min-width: 0;
  white-space: normal;
}

.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%;
  background: var(--pc-feature-blue, #051c2c);
  color: #fff;
}

.pc-report-hero__inner {
  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-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(
    --font-display,
    Georgia,
    "Times New Roman",
    serif
  ) !important;
  font-size: clamp(4rem, 6vw, 8rem);
  line-height: 1;
  letter-spacing: -0.012em;
  font-weight: 500 !important;
  text-wrap: balance;
}

.pc-report-dek {
  max-width: 52ch;
  margin: 2.2rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  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-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 {
  font-family: var(--pc-font);
  color: var(--pc-midnight);
  font-size: 1.14rem;
  line-height: 1.64;
  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-midnight);
  text-decoration-color: rgba(242, 109, 91, 0.5);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}
.pc-report-content a:hover {
  color: var(--pc-orange);
}

.pc-report-content h2,
.pc-report-content h3,
.pc-report-content h4 {
  font-family: var(--pc-font);
  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: 2.7rem;
  font-weight: 750;
}
.pc-report-content h3 {
  margin: 2.6rem 0 0.9rem;
  font-size: 1.7rem;
  font-weight: 730;
}
.pc-report-content h4 {
  margin: 2rem 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 780;
  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-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.pc-finding__title {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--pc-midnight);
  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 {
  padding-top: 0.9rem;
  border-top: 2px solid var(--pc-midnight);
}
.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-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-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.4rem 0;
  padding: 0 0 0 1.3rem;
  border-left: 2px solid var(--pc-orange);
  color: var(--pc-midnight);
  font-size: 1.45rem;
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 650;
}
.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;
}

.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;
}
.pc-report-notes__inner {
  position: sticky;
  top: var(--pc-header-offset);
  max-height: calc(100vh - var(--pc-header-offset) - 32px);
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}
.pc-report-notes__label {
  margin-bottom: 1.4rem;
  color: var(--pc-slate-2);
  font-size: 0.66rem;
  line-height: 1.2;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 750;
}

.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: 0.78rem;
  line-height: 1.45;
  font-weight: 450;
}
.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 {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.55rem;
}
.pc-footnote-note__number {
  color: var(--pc-orange);
  font-size: 0.72rem;
  line-height: 1.45;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.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,
.pc-report-content section.footnotes {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--pc-line);
  color: var(--pc-slate);
  font-size: 0.82rem;
  line-height: 1.45;
}
.pc-report-content .footnotes.is-moved-to-margin,
.pc-report-content section.footnotes.is-moved-to-margin {
  display: none;
}

/* 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.5rem;
}
.pc-report-tags a {
  color: var(--pc-slate);
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.74rem;
  line-height: 1;
  text-decoration: none;
  font-weight: 650;
}
.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;
}

@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;
  }
  .pc-report-hero__inner {
    max-width: 1080px;
  }
}

@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 {
    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;
  }
  .pc-report-notes {
    margin-top: 3rem;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--pc-line);
    padding-top: 1.4rem;
  }
  .pc-report-notes__inner {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 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: block;
    margin: 1.25rem 0;
  }
  .pc-report-content .footnotes.is-moved-to-margin,
  .pc-report-content section.footnotes.is-moved-to-margin {
    display: block;
  }
}

@media (max-width: 520px) {
  .pc-report-shell {
    padding-left: 16px;
    padding-right: 16px;
  }
  .pc-report-content {
    font-size: 1.03rem;
    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 {
    font-size: 1.18rem;
  }
  .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;
  }
}

@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;
  }
}
