/* R110 editorial cleanup
   Purpose: reduce template noise without removing claims, proof, or navigation.
   A number remains visible only when it explains an actual ordered process. */

/* Decorative counters: these duplicate headings and create false sequences. */
body.home-page .r32-ledger::before,
body.home-page .r32-signal::before,
body.journal-page .journal-feed-v15 .lux-journal-card::after,
body.luxury-editorial-v15 .lux-chapter::before {
  content: none !important;
  display: none !important;
}

/* Keep decorative layers inside their boxes. Negative insets and inherited
   fixed widths were increasing scroll dimensions even though the artwork was
   intentionally masked by overflow:hidden. */
.footer-signature::after {
  bottom: 0 !important;
}

body.service-detail-page-v30 .r255-service-visual::before {
  width: auto !important;
  height: 3px !important;
  aspect-ratio: auto !important;
  right: 0 !important;
  bottom: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.journal-index-v33 .journal-feed-v15 .lux-journal-card figure::before {
  inset: 0 !important;
  transform: none !important;
}

/* A 16:9 source should keep its complete frame without being stranded inside
   the portrait media height used by the rest of the library. */
body.journal-index-v33 .journal-feed-v15 .lux-journal-card[data-telegram-post-id="35"] figure {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 10 !important;
}

body.journal-index-v33 .journal-feed-v15 .lux-journal-card[data-telegram-post-id="35"] {
  height: fit-content !important;
  min-height: 0 !important;
  align-self: start !important;
}

body.journal-index-v33 .journal-feed-v15 .lux-journal-card[data-telegram-post-id="35"] > div {
  flex: 0 0 auto !important;
}

body.journal-index-v33 .journal-feed-v15 .lux-journal-card[data-telegram-post-id="35"] footer {
  margin-top: 18px !important;
}

/* Editorial summaries are meaningful copy, not teaser UI. Their full text
   must remain available at every viewport rather than being line-clamped. */
body.journal-index-v33 .journal-feed-v15 .lux-journal-card > div > p:not(.lux-kicker) {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  -webkit-box-orient: initial !important;
  -webkit-line-clamp: unset !important;
}

/* At the 1100px edge the case index reaches the bottom of its sticky
   containing block and is pushed underneath the 72px site header. */
@media (max-width: 1100px) {
  .case-page .r89-case-index {
    position: relative !important;
    top: auto !important;
  }
}

/* Journal tracks and topic map are parallel entry points, not sequences. */
body.journal-page .r255-journal-tracks > div > b,
body.journal-page .m16-topic-map > div > b {
  display: none !important;
}

/* Prevent real mobile clipping in the home evidence ledger. */
@media (max-width: 560px) {
  body.home-page .r32-ledger,
  body.home-page .r32-ledger > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  body.home-page .r32-ledger { overflow: hidden !important; }
  .footer-signature { padding-bottom: 40px !important; }
}

/* The participation spectrum is categorical, not a four-step instruction. */
body.home-page .r36-mandate-point > b {
  display: none !important;
}

/* Output cards are parallel outcomes, not consecutive steps. */
.r110-output-grid > article > span,
.r110p-verify > li > span {
  display: none !important;
}

.r110-output-grid > article > h3,
.r110p-verify > li > h3 {
  margin-top: 0 !important;
}

/* The hero index repeats the numbered model directly below it. */
.architecture-page .r75-level-index li > span,
.method-page .r74-gateboard li > span {
  display: none !important;
}

.architecture-page .r75-level-index li {
  grid-template-columns: 1fr !important;
}

.method-page .r74-gateboard li {
  grid-template-columns: 110px 1fr !important;
}

/* Remove internal/English production shorthand from the reader interface. */
.services-page section[aria-labelledby="chooser-title"] .r110-head .r110-kicker {
  display: none !important;
}

/* Case pages repeat the same mechanism in the hero, explanation and signature
   diagram. Keep the mechanism, but do not number every retelling. */
.case-page .r255-case-system article > b,
.case-page .m16-case-diagram b {
  display: none !important;
}

/* On the escalation article only the opening cause-and-effect chain remains
   numbered. Criteria, message fields, follow-up outcomes and local navigation
   are parallel groups, so ordinals misrepresent their meaning. */
.post-32-r96 :where(.r96-signal-map, .r96-signal-packet, .r96-after-signal, .r96-article-index) span {
  display: none !important;
}

/* Editorial summaries and comparisons are not procedures. */
.v4311-editorial-summary-grid article > b,
.trust-native-contrast-v43102 article > b {
  display: none !important;
}

/* Article chapters keep hierarchy through headings and rules, not counters. */
body.luxury-editorial-v15 .lux-chapter {
  padding-left: 0 !important;
}

/* Tighten line length and spacing so headings, explanation and evidence read as
   one hierarchy rather than as unrelated card templates. */
:where(.r110-head, .r110p-head, .r66-chapter-head, .r75-chapter, .r76-chapter) h2 {
  text-wrap: balance;
}

:where(.r110-lead, .r110p-lead, .r66-lead, .r75-lead, .r76-lead, .lux-lead) {
  max-width: 68ch;
}

@media (max-width: 560px) {
  /* One mobile rhythm across legacy and reconstructed page families. */
  :where(.r32-section, .r66-section, .r75-section, .r76-section,
         .r110-section, .r110p-section, .lux-section) {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }

  :where(.r66-hero, .r75-hero, .r76-hero, .r110-hero, .r110p-hero) {
    padding-top: 58px !important;
    padding-bottom: 50px !important;
  }

  :where(.r110-choice-grid article, .r110-fit-grid article,
         .r110-proof-grid article, .r110-output-grid article,
         .r110p-case-grid article, .r110p-ledger article,
         .r110p-result-grid article, .r110p-chain li, .r110p-verify li) {
    padding: 24px 20px !important;
  }

  body.luxury-editorial-v15 .lux-chapter {
    margin-top: 58px !important;
    padding-top: 24px !important;
  }

  body.luxury-editorial-v15 .lux-copy {
    margin-top: 20px !important;
    margin-bottom: 38px !important;
  }

  body.luxury-editorial-v15 .lux-copy p,
  body.luxury-editorial-v15 .lux-story > p {
    font-size: 17px !important;
    line-height: 1.72 !important;
  }

  .method-page .r74-gateboard li {
    grid-template-columns: 1fr !important;
  }

  .method-page .r74-gateboard li small {
    grid-column: 1 !important;
  }

  /* Parallel choice cards should not look like an endless numbered manual. */
  .r110-choice-grid .r110-index,
  .services-page .r110-choice-grid .r110-index {
    letter-spacing: .09em;
  }
}
