/* Industry Reports in the photo-scene style: a hero with the email sign-up,
   the key numbers on the photo, then the reports in a cream panel. */
.ir-subscribe { max-width: 560px; }
.ir-subscribe__form { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.ir-subscribe__form input[type="email"] {
  flex: 1 1 240px;
  min-height: 50px;
  padding: 0 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #1e3a2b;
  font: 500 16px/1 "Plus Jakarta Sans", system-ui, sans-serif;
}
.ir-subscribe__form input[type="email"]:focus-visible { outline: 2px solid #b8d98a; outline-offset: 3px; }
.ir-subscribe__note,
.ir-subscribe__confirm {
  margin: 0.75rem 0 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}
.ir-subscribe__confirm { font-size: 1.1rem; font-weight: 700; color: #b8d98a; }

.ir-keynums.keynums {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
  max-width: 1180px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  list-style: none;
}
.ir-keynums.keynums li {
  padding: 1.1rem 0 0;
  border: 0;
  border-top: 2px solid rgba(184, 217, 138, 0.55);
}
.ir-keynums.keynums li + li { border-left: 0; }
.ir-keynums.keynums b {
  display: block;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #ffffff;
}
.ir-keynums.keynums span {
  display: block;
  margin-top: 0.6rem;
  max-width: 26ch;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}
.ir-source.source {
  max-width: 90ch;
  margin: clamp(1.5rem, 3vh, 2.25rem) 0 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}
.ir-source.source a { color: #b8d98a; }

.ir-latest { align-items: flex-start; }
.ir-panel { max-width: 1180px; }
.ir-panel .filters { margin-top: 0; }
.ir-panel .posts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 3.5vw, 56px);
  margin-top: 8px;
}
.ir-panel .posts > li:last-child { border-bottom: 0; }
.ir-panel .posts > li[hidden] { display: none; }
.ir-panel .posts h2 { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.25; }
.ir-panel .sprout-line { max-width: none; padding-top: 18px; border-top: 1px solid var(--rule, #e2ded0); }

@media (max-width: 900px) {
  .ir-keynums.keynums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ir-panel .posts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .ir-keynums.keynums { grid-template-columns: minmax(0, 1fr); }
}

.ir-panel .posts h2 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1e3a2b;
}
.ir-panel .keynum b {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #3e6b1f;
}
.ir-panel .filter {
  border-radius: 999px;
  padding: 8px 16px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700;
}
.site-top.site-top--solid {
  background: rgba(15, 43, 26, 0.94);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  transition: background-color 0.2s ease;
}

.ir-subscribe__ask {
  margin: 0 0 0.9rem;
  max-width: 34ch;
  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;
}

/* Stay-put mode: the reports screen fits the window and the list scrolls
   inside its panel. */
.scene-deck-on .ir-latest { align-items: flex-start; padding-top: clamp(104px, 14vh, 140px); padding-bottom: 2rem; }
.scene-deck-on .ir-latest .scene-head__title { font-size: clamp(2rem, 3.4vw, 3rem); }
.scene-deck-on .ir-latest .scene-head__rule { margin: 0.8rem 0 0; }
.scene-deck-on .ir-latest .scene-head + * { margin-top: clamp(1rem, 2.2vh, 1.5rem); }
.scene-deck-on .ir-panel {
  display: flex;
  flex-direction: column;
  max-height: calc(100svh - clamp(104px, 14vh, 140px) - 2rem - clamp(7rem, 15vh, 9.5rem));
  padding-bottom: calc(clamp(20px, 3vw, 40px) - 13px);
}
.scene-deck-on .ir-panel .posts {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(30, 58, 43, 0.35) transparent;
}
.scene-deck-on .ir-panel .posts:focus-visible { outline: 2px solid #6fa83d; outline-offset: 4px; }
.scene-deck-on .ir-panel .sprout-line { flex: none; margin: 0; padding: 14px 0 18px; }
.scene-deck-on .ir-keynums.keynums b { font-size: clamp(2rem, 3vw, 2.9rem); }

.ir-panel { max-width: none; }
@media (min-width: 1200px) {
  .ir-panel .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(28px, 2.6vw, 44px); }
  .ir-panel .posts h2 { font-size: clamp(18px, 1.35vw, 21px); }
}
@media (min-width: 1280px) {
  .ir-panel .posts { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(24px, 2vw, 36px); }
  .ir-panel .posts h2 { font-size: clamp(17px, 1.2vw, 20px); }
  .ir-panel .posts .dek { font-size: 15px; line-height: 1.55; }
  .ir-panel .keynum { font-size: 14px; }
}

/* Stay-put mode shows every report at once: title, date and key number,
   with no scroll bar. */
.scene-deck-on .ir-panel .posts { scrollbar-width: none; padding-right: 0; }
.scene-deck-on .ir-panel .posts::-webkit-scrollbar { display: none; }
.scene-deck-on .ir-panel .posts .dek { display: none; }
.scene-deck-on .ir-panel .posts > li { padding-block: 16px; }
.scene-deck-on .ir-panel .posts h2 { margin: 4px 0 8px; }
@media (max-height: 780px) {
  .scene-deck-on .ir-latest .scene-head__eyebrow { margin-bottom: 0.4rem; }
  .scene-deck-on .ir-latest .scene-head__title { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
  .scene-deck-on .ir-panel { padding-top: 18px; padding-bottom: 5px; }
  .scene-deck-on .ir-panel .posts > li { padding-block: 10px; }
  .scene-deck-on .ir-panel .posts h2 { font-size: 16px; margin: 2px 0 6px; }
  .scene-deck-on .ir-panel .meta { font-size: 11px; }
  .scene-deck-on .ir-panel .keynum { font-size: 13px; line-height: 1.4; }
  .scene-deck-on .ir-panel .sprout-line { padding: 10px 0 12px; font-size: 14px; }
}

.scene-deck-on .ir-latest .scene-head {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.scene-deck-on .ir-latest .scene-head + * { margin-top: 0; }
.scene-deck-on .ir-latest { padding-top: clamp(100px, 13vh, 124px); padding-bottom: clamp(1.25rem, 3vh, 2rem); }
.scene-deck-on .ir-panel { max-height: calc(100svh - clamp(100px, 13vh, 124px) - clamp(1.25rem, 3vh, 2rem)); }
@media (max-height: 700px) {
  .scene-deck-on .ir-panel .keynum { display: none; }
}
.scene-deck-on .ir-panel .posts > li { padding-block: 13px; }
@media (max-height: 820px) {
  .scene-deck-on .ir-panel .keynum { display: none; }
}
@media (max-height: 880px) {
  .scene-deck-on .ir-panel .keynum { display: none; }
}
@media (min-width: 1000px) and (max-width: 1279px) {
  .scene-deck-on .ir-panel .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Five across: the ten reports sit in two rows. */
@media (min-width: 1280px) {
  .ir-panel .posts { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: clamp(20px, 1.8vw, 32px); }
  .ir-panel .posts h2 { font-size: clamp(16px, 1.1vw, 19px); }
}
@media (min-width: 1280px) and (max-height: 880px) and (min-height: 700px) {
  .scene-deck-on .ir-panel .keynum { display: block; }
}

/* The report a reader just came back from. */
.ir-panel .posts > li.is-last-read { position: relative; }
.ir-panel .posts > li.is-last-read::before {
  content: "";
  position: absolute;
  inset: 4px -12px;
  z-index: -1;
  border-radius: 12px;
  background: rgba(168, 216, 106, 0.28);
}
.ir-panel .posts { position: relative; z-index: 0; }

/* Centre the reports panel on the screen, across and down. */
.scene-deck-on .ir-latest { align-items: center; padding-bottom: clamp(100px, 13vh, 124px); }
.ir-latest .scene__inner { max-width: 1600px; margin-inline: auto; }

/* Phones: a lighter Industry Reports. The key numbers sit in a 2 x 2 grid,
   the topic filters scroll sideways in one row, and each report is a simple
   card (topic, date, headline) that opens with a tap anywhere on it. The
   summary and stat lines live on each report's own page. */
@media (max-width: 760px) {
  .ir-keynums.keynums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 1.25rem; }
  .ir-keynums.keynums li { padding: 14px 12px 14px 0; border-top: 1px solid rgba(184, 217, 138, 0.35); }
  .ir-keynums.keynums li:nth-child(even) { padding-left: 14px; border-left: 1px solid rgba(184, 217, 138, 0.35); }
  .ir-keynums.keynums b { font-size: clamp(1.6rem, 7.4vw, 2rem); line-height: 1.1; }
  .ir-keynums.keynums li:last-child b { font-size: clamp(1.15rem, 5vw, 1.4rem); }
  .ir-keynums.keynums span { display: block; margin-top: 4px; font-size: 0.86rem; line-height: 1.35; }
  .ir-source { margin-top: 0.9rem; font-size: 0.72rem; line-height: 1.45; opacity: 0.8; }

  .ir-latest .scene-head + * { margin-top: 1.1rem; }
  .ir-panel { padding: 14px 0 6px; }
  .ir-panel .filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0;
    padding: 0 14px 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .ir-panel .filters::-webkit-scrollbar { display: none; }
  .ir-panel .filter { flex: none; min-height: 40px; }
  .ir-panel .posts { display: block; margin: 0; padding: 0 14px; }
  .ir-panel .posts > li {
    position: relative;
    padding: 14px 0;
    border-top: 1px solid rgba(30, 58, 43, 0.12);
  }
  .ir-panel .posts .dek,
  .ir-panel .posts .keynum { display: none; }
  .ir-panel .posts .meta { margin: 0 0 4px; font-size: 12px; }
  .ir-panel .posts h2 { margin: 0; font-size: 17px; line-height: 1.3; }
  .ir-panel .posts h2 a { text-decoration: none; }
  .ir-panel .posts h2 a::after { content: ""; position: absolute; inset: 0; }
  .ir-panel .posts > li:active { background: rgba(168, 216, 106, 0.18); }
  .ir-panel .sprout-line { margin: 0; padding: 12px 14px 8px; font-size: 14px; }
}
@media (max-width: 760px) {
  .ir-panel .filters {
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .ir-panel .filters.is-end { -webkit-mask-image: none; mask-image: none; }
}
