/* Industry report pages as photo screens: the intro with the key figures,
   the short version, then one screen per section with its content in a
   cream panel. Panels scroll inside without a visible bar when needed. */
.rp .scene-head { max-width: none; }
.rp-back {
  display: inline-block;
  margin-bottom: 1.1rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 2px solid rgba(184, 217, 138, 0.7);
  padding-bottom: 2px;
}
.rp-back:hover { color: #b8d98a; }
@media (max-width: 760px) {
  .rp-back { margin-top: -10px; padding-top: 12px; padding-bottom: 4px; }
}
.rp-back:focus-visible { outline: 2px solid #b8d98a; outline-offset: 3px; }
.rp .rp-title { font-size: clamp(2.1rem, 3.6vw, 3.4rem); line-height: 1.08; }
.rp .rp-dek { max-width: 46ch; font-size: clamp(1.05rem, 1.35vw, 1.3rem); }
.rp-byline {
  margin: 0.9rem 0 0;
  max-width: 52ch;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}
.rp-intro__split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; }

.rp-figs { font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.rp .rp-figs__label {
  margin: 0 0 0.9rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8d98a;
}
.rp-figs .figs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(18px, 2.4vw, 36px);
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}
.rp-figs .figs li { padding: 1rem 0 1.1rem; border: 0; border-top: 2px solid rgba(184, 217, 138, 0.55); }
.rp-figs .figs b {
  display: block;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #ffffff;
}
.rp-figs .figs span { display: block; margin-top: 0.45rem; font-size: 0.95rem; line-height: 1.45; color: rgba(255, 255, 255, 0.88); }
.rp-figs .figs cite { display: block; margin-top: 0.35rem; font-size: 0.8rem; font-style: normal; color: rgba(255, 255, 255, 0.62); }
.rp-figs .share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 0.75rem; }
.rp-figs .share__label { margin-right: 4px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.rp-figs .share a,
.rp-figs .share button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}
.rp-figs .share a:hover,
.rp-figs .share button:hover { border-color: #b8d98a; color: #b8d98a; }
.rp-figs .share svg { width: 17px; height: 17px; }
.rp-figs .share__status { font-size: 0.85rem; color: #b8d98a; }

.rp-split { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); align-items: center; }
.rp .rp-section-title { font-size: clamp(2rem, 3.3vw, 3.1rem); line-height: 1.06; }

.rp-short ul { margin: 0; padding: 0; list-style: none; display: grid; gap: clamp(14px, 2.2vh, 22px); }
.rp-short li {
  position: relative;
  padding-left: 30px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}
.rp-short li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #a8d86a;
}
.rp-short b { color: #b8d98a; font-weight: 800; }
.rp-short .src,
.rp-short .src a { color: rgba(255, 255, 255, 0.62); }

.rp-panel { margin-top: 0; font-size: 16px; line-height: 1.65; }
.rp-panel > p { margin: 0 0 14px; max-width: 70ch; }
.rp-panel > p:last-child,
.rp-panel > ul:last-child,
.rp-panel > ol:last-child,
.rp-panel > *:last-child { margin-bottom: 0; }
.rp-panel > ul { margin: 0 0 14px; padding-left: 1.1em; display: grid; gap: 8px; }
.rp-panel b { color: #1e3a2b; }
.rp-panel .chart { margin: 16px 0 6px; }
.rp-panel .table-wrap { margin: 14px 0 6px; }
.rp-panel .sources { font-size: 14px; line-height: 1.5; }
.rp-panel--sources .sources { columns: 2; column-gap: 36px; display: block; padding-left: 1.3em; }
.rp-panel--sources .sources li { break-inside: avoid; margin-bottom: 10px; }
.rp-ask {
  margin: 0;
  max-width: 30ch;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
}
.rp-ask + .scene-btns { margin-top: 1rem; }
.rp .rp-sprout { margin-top: 1.25rem; max-width: 40ch; font-size: 0.92rem; color: rgba(255, 255, 255, 0.75); }
.rp .rp-sprout .link { color: #b8d98a; }

.scene-deck-on .rp .scene { padding-top: clamp(104px, 14vh, 140px); padding-bottom: clamp(1.5rem, 4vh, 3rem); }
.scene-deck-on .rp-panel {
  max-height: calc(100svh - clamp(104px, 14vh, 140px) - clamp(1.5rem, 4vh, 3rem) - 1rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.scene-deck-on .rp-panel::-webkit-scrollbar { display: none; }
.scene-deck-on .rp-panel:focus-visible { outline: 2px solid #b8d98a; outline-offset: 4px; }

@media (max-height: 760px) and (min-width: 901px) {
  .rp .rp-title { font-size: clamp(1.8rem, 2.9vw, 2.6rem); }
  .rp .rp-section-title { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
  .rp-figs .figs li { padding: 0.7rem 0 0.8rem; }
  .rp-figs .figs b { font-size: clamp(1.5rem, 2.2vw, 2rem); }
  .rp-short li { font-size: 1rem; }
  .rp-panel { font-size: 15px; line-height: 1.55; }
  .rp .rp-byline { display: none; }
}
@media (max-width: 900px) {
  .rp-intro__split,
  .rp-split { grid-template-columns: minmax(0, 1fr); }
  .rp-panel--sources .sources { columns: 1; }
}

.scene-deck-on .rp-panel.has-more {
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 64px), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 64px), transparent);
}

.rp-panel--sources .sources {
  columns: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 36px;
  font-size: 13.5px;
}
.rp-panel--sources .sources li { display: list-item; margin: 0; }
.rp-panel--sources .sources a { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .rp-panel--sources .sources { grid-template-columns: minmax(0, 1fr); }
}

/* Intro: a start button with the read time, the sections as quick links,
   and the key figures as cards with the first one leading. */
.rp-intro__split { align-items: center; }
.rp-start { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem 1.1rem; margin-top: 1.4rem; }
.rp-readtime {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}
.rp-toc { margin-top: 1.4rem; font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.rp-toc__label {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8d98a;
}
.rp-toc ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; max-width: 640px; }
.rp-toc a {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(15, 43, 26, 0.35);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.rp-toc a:hover { background: rgba(168, 216, 106, 0.22); border-color: #b8d98a; }
.rp-toc a:focus-visible { outline: 2px solid #b8d98a; outline-offset: 2px; }

.rp-figs .figs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.rp-figs .figs li {
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(15, 43, 26, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.rp-figs .figs li:first-child {
  grid-column: 1 / -1;
  padding: 22px 24px 20px;
  border-color: rgba(184, 217, 138, 0.45);
  background: rgba(15, 43, 26, 0.68);
}
.rp-figs .figs li:first-child b { font-size: clamp(3.2rem, 5.4vw, 5rem); color: #b8d98a; }
.rp-figs .figs li:first-child span { font-size: clamp(1.02rem, 1.25vw, 1.2rem); color: #ffffff; }
.rp-figs .figs li:not(:first-child) b { font-size: clamp(1.5rem, 2vw, 2rem); }
.rp-figs .figs li:not(:first-child) span { font-size: 0.86rem; }
.rp-figs .figs cite { font-size: 0.76rem; }
.rp-figs .share { margin-top: 1rem; }

@media (max-height: 900px) and (min-width: 901px) {
  .rp-intro .rp-byline { display: none; }
  .rp-intro .rp-dek { font-size: 1.05rem; }
  .rp .rp-title { font-size: clamp(1.9rem, 3vw, 2.9rem); }
  .rp-start { margin-top: 1.1rem; }
  .rp-toc { margin-top: 1.1rem; }
}
@media (max-height: 740px) and (min-width: 901px) {
  .rp-toc { display: none; }
  .rp-figs .figs li:first-child b { font-size: clamp(2.4rem, 4vw, 3.4rem); }
  .rp-figs .figs li { padding: 12px 14px; }
}
@media (max-width: 900px) {
  .rp-figs .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Two big elements on the intro: the headline and the key figures.
   Three figures: one leading card, two beneath it. */
.rp-intro__split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); }
.rp-figs .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rp-figs .figs li { padding: 22px 22px 20px; }
.rp-figs .figs li:first-child { padding: 28px 30px 26px; }
.rp-figs .figs li:first-child b { font-size: clamp(3.8rem, 6.4vw, 6.2rem); letter-spacing: -0.04em; }
.rp-figs .figs li:first-child span { font-size: clamp(1.1rem, 1.4vw, 1.35rem); }
.rp-figs .figs li:not(:first-child) b { font-size: clamp(2rem, 2.8vw, 2.8rem); color: #ffffff; }
.rp-figs .figs li:not(:first-child) span { font-size: 0.98rem; }
.rp-figs .figs cite { font-size: 0.8rem; }
.rp .rp-figs__label { font-size: 0.8rem; margin-bottom: 1rem; }
@media (max-height: 740px) and (min-width: 901px) {
  .rp-figs .figs li { padding: 14px 16px; }
  .rp-figs .figs li:first-child { padding: 18px 22px; }
  .rp-figs .figs li:first-child b { font-size: clamp(2.8rem, 4.6vw, 4rem); }
  .rp-figs .figs li:not(:first-child) b { font-size: clamp(1.6rem, 2.2vw, 2.1rem); }
}

/* Phones and small tablets: headline first, then the key figures underneath. */
@media (max-width: 900px) {
  .rp-intro__split { grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
  .rp-figs .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-intro .rp-title { font-size: clamp(2rem, 8.4vw, 3rem); }
}
@media (max-width: 420px) {
  .rp-figs .figs { grid-template-columns: minmax(0, 1fr); }
}
