/* -------------------------------------------------------------------------- */
/* Editorial layer pages — How We Work, Assessment, Investors, AI, Signals    */
/* Scoped to body.chl-editorial. Matches Portfolio/Build/Launch service system */
/* -------------------------------------------------------------------------- */

body.chl-editorial {
  overflow-x: hidden;
  background-color: #fff;
  color: #1c1c1c;
  --chl-ed-ink: #1c1c1c;
  /* Readable body copy — was 0.72 and could read washed-out on ivory bands */
  --chl-ed-ink-soft: rgba(28, 28, 28, 0.88);
  --chl-ed-line: rgba(28, 28, 28, 0.12);
  --chl-ed-ivory: #f7f3ec;
  --chl-ed-ivory-card: #faf7f2;
  --chl-ed-max: 72rem;
  --chl-ed-pad: clamp(1.5rem, 4vw, 3rem);
}

body.chl-editorial .chl-ed {
  background-color: #fff;
  color: var(--chl-ed-ink);
}

/* Never leave editorial body copy faded/invisible */
body.chl-editorial .chl-ed-lead,
body.chl-editorial .chl-ed-lead p,
body.chl-editorial .chl-ed-intro,
body.chl-editorial .chl-ed-subline,
body.chl-editorial .chl-ed-thesis__copy p,
body.chl-editorial .chl-ed-module__text,
body.chl-editorial .chl-ed-row__text,
body.chl-editorial .chl-ed-step__text,
body.chl-editorial .chl-ed-faq__answer,
body.chl-editorial .chl-ed-cta__copy {
  opacity: 1;
}

body.chl-editorial .chl-ed-wrap {
  width: 100%;
  max-width: var(--chl-ed-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--chl-ed-pad);
  padding-right: var(--chl-ed-pad);
  box-sizing: border-box;
}

/* Hero — text-led, refined breathing room */
body.chl-editorial .chl-ed-hero {
  padding-top: clamp(8rem, 13vw, 10.75rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

body.chl-editorial .chl-ed-hero__copy {
  display: flex;
  flex-direction: column;
  max-width: 40rem;
}

body.chl-editorial .chl-ed-eyebrow {
  margin: 0 0 1rem;
  color: var(--chl-ed-ink);
  font-family: Archivo, Lato, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

body.chl-editorial .chl-ed-title {
  margin: 0 0 1.15rem;
  color: var(--chl-ed-ink);
  font-family: Lato, sans-serif;
  font-size: clamp(2.35rem, 5.2vw, 4.35rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-transform: uppercase;
}

body.chl-editorial .chl-ed-subline {
  margin: 0 0 1.35rem;
  max-width: 34rem;
  color: var(--chl-ed-ink);
  font-family: Archivo, Lato, sans-serif;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

body.chl-editorial .chl-ed-intro {
  margin: 0 0 1.15rem;
  max-width: 38rem;
  color: var(--chl-ed-ink-soft);
  font-family: Archivo, Lato, sans-serif;
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  font-weight: 400;
  line-height: 1.65;
}

body.chl-editorial .chl-ed-intro:last-child {
  margin-bottom: 0;
}

/* Sections */
body.chl-editorial .chl-ed-section {
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

body.chl-editorial .chl-ed-section--tight-top {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

body.chl-editorial .chl-ed-section-title {
  margin: 0 0 clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--chl-ed-ink);
  font-family: Lato, sans-serif;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-transform: none;
}

/* Thesis / editorial two-col */
body.chl-editorial .chl-ed-thesis {
  border-top: 1px solid var(--chl-ed-line);
}

body.chl-editorial .chl-ed-thesis__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

body.chl-editorial .chl-ed-thesis__label {
  position: sticky;
  top: 6rem;
}

body.chl-editorial .chl-ed-thesis__label .chl-ed-section-title {
  margin-bottom: 0;
  max-width: 16rem;
}

body.chl-editorial .chl-ed-thesis__copy {
  max-width: 38rem;
}

body.chl-editorial .chl-ed-thesis__copy p {
  margin: 0 0 1.5rem;
  color: var(--chl-ed-ink-soft);
  font-family: Archivo, Lato, sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  font-weight: 400;
  line-height: 1.7;
}

body.chl-editorial .chl-ed-thesis__copy p:last-child {
  margin-bottom: 0;
}

/* Lead copy under section title (single column) */
body.chl-editorial .chl-ed-lead {
  margin: -0.75rem 0 clamp(1.75rem, 3vw, 2.5rem);
  max-width: 40rem;
  color: var(--chl-ed-ink-soft);
  font-family: Archivo, Lato, sans-serif;
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  font-weight: 400;
  line-height: 1.7;
}

body.chl-editorial .chl-ed-lead p {
  margin: 0 0 1.25rem;
  /* Override Webflow global `p { color: var(--light-grey) }` (#eee) */
  color: var(--chl-ed-ink-soft) !important;
  opacity: 1;
  font-family: Archivo, Lato, sans-serif;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: inherit;
}

body.chl-editorial .chl-ed-lead p:last-child {
  margin-bottom: 0;
}

/* Modules with title + body */
body.chl-editorial .chl-ed-modules {
  background: linear-gradient(180deg, #fff 0%, #fbf9f5 48%, #fff 100%);
}

body.chl-editorial .chl-ed-modules__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--chl-ed-line);
  border: 1px solid var(--chl-ed-line);
}

body.chl-editorial .chl-ed-modules__grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.chl-editorial .chl-ed-module {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
  padding: clamp(1.35rem, 2.2vw, 1.75rem);
  background: var(--chl-ed-ivory-card);
  box-sizing: border-box;
}

body.chl-editorial .chl-ed-module__num {
  color: rgba(28, 28, 28, 0.45);
  font-family: Archivo, Lato, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

body.chl-editorial .chl-ed-module__title {
  margin: 0;
  color: var(--chl-ed-ink);
  font-family: Archivo, Lato, sans-serif;
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

body.chl-editorial .chl-ed-module__text {
  margin: 0;
  color: var(--chl-ed-ink-soft);
  font-family: Archivo, Lato, sans-serif;
  font-size: clamp(0.9rem, 1vw, 0.98rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

/* Signal / moment rows */
body.chl-editorial .chl-ed-rows {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 48rem;
  border-top: 1px solid var(--chl-ed-line);
}

body.chl-editorial .chl-ed-row {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--chl-ed-line);
}

body.chl-editorial .chl-ed-row--labeled {
  grid-template-columns: minmax(7.5rem, 11rem) minmax(0, 1fr);
}

body.chl-editorial .chl-ed-row__num,
body.chl-editorial .chl-ed-row__label {
  color: rgba(28, 28, 28, 0.4);
  font-family: Archivo, Lato, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.55;
  padding-top: 0.1rem;
}

body.chl-editorial .chl-ed-row__label {
  color: var(--chl-ed-ink);
  letter-spacing: -0.01em;
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
}

body.chl-editorial .chl-ed-row__body {
  min-width: 0;
}

body.chl-editorial .chl-ed-row__title {
  margin: 0 0 0.4rem;
  color: var(--chl-ed-ink);
  font-family: Archivo, Lato, sans-serif;
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

body.chl-editorial .chl-ed-row__text {
  margin: 0;
  color: var(--chl-ed-ink-soft);
  font-family: Archivo, Lato, sans-serif;
  font-size: clamp(0.95rem, 1.05vw, 1.02rem);
  font-weight: 400;
  line-height: 1.55;
}

/* Steps */
body.chl-editorial .chl-ed-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 46rem;
  border-top: 1px solid var(--chl-ed-line);
}

body.chl-editorial .chl-ed-step {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--chl-ed-line);
}

body.chl-editorial .chl-ed-step__num {
  color: rgba(28, 28, 28, 0.4);
  font-family: Archivo, Lato, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.55;
  padding-top: 0.1rem;
}

body.chl-editorial .chl-ed-step__title {
  margin: 0 0 0.35rem;
  color: var(--chl-ed-ink);
  font-family: Archivo, Lato, sans-serif;
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  font-weight: 500;
  line-height: 1.4;
}

body.chl-editorial .chl-ed-step__text {
  margin: 0;
  color: var(--chl-ed-ink);
  font-family: Archivo, Lato, sans-serif;
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  font-weight: 400;
  line-height: 1.55;
}

body.chl-editorial .chl-ed-step__text--soft {
  color: var(--chl-ed-ink-soft);
}

/* Outputs */
body.chl-editorial .chl-ed-outputs {
  background-color: #fbf9f5;
}

body.chl-editorial .chl-ed-outputs__list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 42rem;
  border-top: 1px solid var(--chl-ed-line);
}

body.chl-editorial .chl-ed-output {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--chl-ed-line);
}

body.chl-editorial .chl-ed-output__mark {
  color: rgba(28, 28, 28, 0.45);
  font-family: Archivo, Lato, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
}

body.chl-editorial .chl-ed-output__text {
  margin: 0;
  color: var(--chl-ed-ink);
  font-family: Archivo, Lato, sans-serif;
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
}

/* Use cases */
body.chl-editorial .chl-ed-usecases__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--chl-ed-line);
}

body.chl-editorial .chl-ed-usecase {
  padding: 1.35rem 1.5rem 1.35rem 0;
  border-bottom: 1px solid var(--chl-ed-line);
}

body.chl-editorial .chl-ed-usecase:nth-child(even) {
  padding-left: 1.5rem;
  padding-right: 0;
  border-left: 1px solid var(--chl-ed-line);
}

body.chl-editorial .chl-ed-usecase p {
  margin: 0;
  color: var(--chl-ed-ink);
  font-family: Archivo, Lato, sans-serif;
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
}

/* FAQ — soft ivory band, distinct from surrounding white sections */
body.chl-editorial .chl-ed-faq {
  border-top: none;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8f4ec 12%, #f7f3ec 88%, #ffffff 100%);
  padding-top: clamp(3.75rem, 7.5vw, 6.5rem);
  padding-bottom: clamp(3.75rem, 7.5vw, 6.5rem);
}

body.chl-editorial .chl-ed-faq .chl-ed-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

body.chl-editorial .chl-ed-faq .chl-ed-section-title {
  margin-bottom: 0;
  max-width: 12rem;
  position: sticky;
  top: 6rem;
}

body.chl-editorial .chl-ed-faq__panel {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 0.35rem;
  padding: 0.15rem 1.35rem 0.35rem;
  box-sizing: border-box;
}

body.chl-editorial .chl-ed-faq__list {
  max-width: none;
  border-top: 1px solid var(--chl-ed-line);
}

body.chl-editorial .chl-ed-faq__item {
  border-bottom: 1px solid var(--chl-ed-line);
}

body.chl-editorial .chl-ed-faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 0;
  color: var(--chl-ed-ink);
  font-family: Archivo, Lato, sans-serif;
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

body.chl-editorial .chl-ed-faq__item summary::-webkit-details-marker {
  display: none;
}

body.chl-editorial .chl-ed-faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  color: rgba(28, 28, 28, 0.4);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.2;
  transition: transform 0.2s ease;
}

body.chl-editorial .chl-ed-faq__item[open] summary::after {
  content: "–";
}

body.chl-editorial .chl-ed-faq__answer {
  margin: 0 0 1.25rem;
  max-width: 38rem;
  color: var(--chl-ed-ink-soft);
  font-family: Archivo, Lato, sans-serif;
  font-size: clamp(0.95rem, 1.05vw, 1.02rem);
  font-weight: 400;
  line-height: 1.65;
}

/* Internal explore links — clearly clickable editorial rows */
body.chl-editorial .chl-ed-explore,
.chl-ed-explore {
  --chl-ed-ink: #1c1c1c;
  --chl-ed-ink-soft: rgba(28, 28, 28, 0.88);
  --chl-ed-line: rgba(28, 28, 28, 0.12);
  --chl-ed-max: 72rem;
  --chl-ed-pad: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2.75rem, 5.5vw, 4.5rem) 0;
  background: #fff;
  border-top: 1px solid var(--chl-ed-line);
  box-sizing: border-box;
}

/* How We Work: FAQ mist already separates — drop the hard hairline into Explore */
body.chl-editorial .chl-ed-faq + .chl-ed-explore {
  border-top: none;
  padding-top: clamp(2rem, 4vw, 3rem);
}

body.chl-services .chl-ed-explore {
  border-top: 1px solid var(--chl-ed-line);
  /* Continuous white into Expertise — no black body gap */
  padding-bottom: clamp(2.75rem, 5vw, 4rem);
  margin-bottom: 0;
}

body.chl-services .chl-ed-explore + .chl-bottom-cta,
body.chl-services .chl-ed-explore + section.chl-bottom-cta {
  margin-top: 0;
}

body.chl-services .chl-ed-explore .chl-ed-wrap {
  max-width: 72rem;
}

.chl-ed-explore .chl-ed-wrap,
body.chl-editorial .chl-ed-explore .chl-ed-wrap {
  width: 100%;
  max-width: var(--chl-ed-max);
  margin: 0 auto;
  padding-left: var(--chl-ed-pad);
  padding-right: var(--chl-ed-pad);
  box-sizing: border-box;
}

.chl-ed-explore__title {
  margin: 0 0 1.5rem;
  color: var(--chl-ed-ink);
  font-family: Lato, sans-serif;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-transform: none;
}

.chl-ed-explore__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: none;
  border-top: 1px solid var(--chl-ed-line);
}

.chl-ed-explore__list li {
  border-bottom: 1px solid var(--chl-ed-line);
  min-width: 0;
}

.chl-ed-explore__list li:nth-child(odd) {
  border-right: 1px solid var(--chl-ed-line);
  padding-right: 1.25rem;
}

.chl-ed-explore__list li:nth-child(even) {
  padding-left: 1.25rem;
}

/* Rich link rows (How We Work) */
.chl-ed-explore__link {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 0.15rem 1.15rem 0;
  color: var(--chl-ed-ink);
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.chl-ed-explore__copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.chl-ed-explore__name {
  color: var(--chl-ed-ink);
  font-family: Archivo, Lato, sans-serif;
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-color: rgba(28, 28, 28, 0.28);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.2s ease;
}

.chl-ed-explore__desc {
  color: var(--chl-ed-ink-soft);
  font-family: Archivo, Lato, sans-serif;
  font-size: clamp(0.86rem, 0.95vw, 0.94rem);
  font-weight: 400;
  line-height: 1.5;
}

.chl-ed-explore__arrow {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: rgba(28, 28, 28, 0.45);
  font-family: Archivo, Lato, sans-serif;
  font-size: 1rem;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.chl-ed-explore__link:hover .chl-ed-explore__name,
.chl-ed-explore__link:focus-visible .chl-ed-explore__name {
  text-decoration-color: #111;
}

.chl-ed-explore__link:hover .chl-ed-explore__arrow,
.chl-ed-explore__link:focus-visible .chl-ed-explore__arrow {
  color: #111;
  transform: translateX(3px);
}

/* Simple text links (Services index) — still clearly clickable */
.chl-ed-explore__list > li > a:not(.chl-ed-explore__link) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  color: var(--chl-ed-ink);
  font-family: Archivo, Lato, sans-serif;
  font-size: clamp(0.95rem, 1.05vw, 1.02rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: rgba(28, 28, 28, 0.28);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

.chl-ed-explore__list > li > a:not(.chl-ed-explore__link)::after {
  content: "→";
  flex-shrink: 0;
  color: rgba(28, 28, 28, 0.4);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.chl-ed-explore__list > li > a:not(.chl-ed-explore__link):hover,
.chl-ed-explore__list > li > a:not(.chl-ed-explore__link):focus-visible {
  color: #000;
  text-decoration-color: #111;
  opacity: 1;
}

.chl-ed-explore__list > li > a:not(.chl-ed-explore__link):hover::after,
.chl-ed-explore__list > li > a:not(.chl-ed-explore__link):focus-visible::after {
  color: #111;
  transform: translateX(3px);
}

/* Bottom CTA */
body.chl-editorial section.chl-ed-cta.chl-bottom-cta {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: 0;
}

body.chl-editorial .chl-ed-cta__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

body.chl-editorial .chl-ed-cta__eyebrow {
  margin: 0 0 1rem;
  color: var(--chl-ed-ink);
  font-family: Archivo, Lato, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

body.chl-editorial .chl-ed-cta__title {
  margin: 0 0 1.15rem;
  max-width: 32rem;
  color: var(--chl-ed-ink);
  font-family: Lato, sans-serif;
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-transform: none;
}

body.chl-editorial .chl-ed-cta__copy {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  color: var(--chl-ed-ink-soft);
  font-family: Archivo, Lato, sans-serif;
  font-size: clamp(0.98rem, 1.1vw, 1.1rem);
  font-weight: 400;
  line-height: 1.65;
}

body.chl-editorial .chl-ed-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 3.25rem;
  margin-bottom: 0;
}

body.chl-editorial .chl-ed-cta .button-with-circle-icon {
  margin-left: 0;
  margin-top: 0;
  color: #f7f3ec;
}

body.chl-editorial .chl-ed-cta .button-flex-copy-copy {
  background-color: #000;
  color: #f7f3ec;
}

body.chl-editorial .chl-ed-cta .button-flex-copy-copy .button-text,
body.chl-editorial .chl-ed-cta .button-flex-copy-copy .button-text-absolute {
  color: #f7f3ec;
  font-size: 0.78rem;
  line-height: 1.2;
  letter-spacing: 0.06em;
}

body.chl-editorial .chl-ed-cta__next {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--chl-ed-ink);
  font-family: Archivo, Lato, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(28, 28, 28, 0.28);
  padding-bottom: 0.2rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

body.chl-editorial .chl-ed-cta__next:hover,
body.chl-editorial .chl-ed-cta__next:focus-visible {
  color: #000;
  border-bottom-color: #000;
}

/* Inline section links — default underline style for editorial pages */
body.chl-editorial .chl-ed-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--chl-ed-line);
}

body.chl-editorial .chl-ed-inline-links a {
  color: var(--chl-ed-ink) !important;
  font-family: Archivo, Lato, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(28, 28, 28, 0.22);
  padding-bottom: 0.15rem;
  opacity: 1 !important;
  -webkit-text-fill-color: var(--chl-ed-ink);
}

body.chl-editorial .chl-ed-inline-links a:hover,
body.chl-editorial .chl-ed-inline-links a:focus-visible {
  border-bottom-color: #000;
}

/* Compact secondary pill chips (How We Work, When to Bring Us In, AI, Investors) */
body.chl-editorial .chl-ed-inline-links--chips {
  gap: 0.65rem 0.75rem;
}

body.chl-editorial .chl-ed-cta__actions .chl-ed-inline-links--chips {
  margin: 0;
  padding: 0;
  border: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
  max-width: 100%;
}

body.chl-editorial .chl-ed-inline-links--chips a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.95rem;
  color: #1c1c1c !important;
  background-color: #faf7f2;
  border: 1px solid rgba(28, 28, 28, 0.28);
  border-radius: 999px;
  border-bottom: 1px solid rgba(28, 28, 28, 0.28);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: none;
  text-decoration: none !important;
  -webkit-text-fill-color: #1c1c1c;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    -webkit-text-fill-color 0.2s ease;
}

body.chl-editorial .chl-ed-inline-links--chips a::after {
  content: "→";
  flex-shrink: 0;
  font-size: 0.78rem;
  line-height: 1;
  opacity: 0.55;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

body.chl-editorial .chl-ed-inline-links--chips a:hover,
body.chl-editorial .chl-ed-inline-links--chips a:focus-visible {
  color: #f7f3ec !important;
  background-color: #111;
  border-color: #111;
  -webkit-text-fill-color: #f7f3ec;
}

body.chl-editorial .chl-ed-inline-links--chips a:hover::after,
body.chl-editorial .chl-ed-inline-links--chips a:focus-visible::after {
  opacity: 1;
  transform: translateX(2px);
}

@media screen and (max-width: 767px) {
  body.chl-editorial .chl-ed-inline-links--chips {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }
}

/* Tablet */
@media screen and (max-width: 991px) {
  body.chl-editorial {
    --chl-ed-pad: 1.5rem;
  }

  body.chl-editorial .chl-ed-hero {
    padding-top: clamp(7.5rem, 15vw, 9rem);
    padding-bottom: 2.5rem;
  }

  body.chl-editorial .chl-ed-thesis__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  body.chl-editorial .chl-ed-thesis__label {
    position: static;
  }

  body.chl-editorial .chl-ed-thesis__label .chl-ed-section-title {
    max-width: 22rem;
  }

  body.chl-editorial .chl-ed-modules__grid,
  body.chl-editorial .chl-ed-modules__grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.chl-editorial .chl-ed-usecases__list {
    grid-template-columns: 1fr;
  }

  body.chl-editorial .chl-ed-usecase,
  body.chl-editorial .chl-ed-usecase:nth-child(even) {
    padding: 1.2rem 0;
    border-left: none;
  }

  body.chl-editorial .chl-ed-row--labeled {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  body.chl-editorial .chl-ed-faq .chl-ed-wrap {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  body.chl-editorial .chl-ed-faq .chl-ed-section-title {
    position: static;
    max-width: 22rem;
  }

  body.chl-editorial .chl-ed-faq__panel {
    padding: 0.1rem 1rem 0.25rem;
  }

  .chl-ed-explore__list {
    grid-template-columns: 1fr;
  }

  .chl-ed-explore__list li:nth-child(odd),
  .chl-ed-explore__list li:nth-child(even) {
    border-right: none;
    padding-left: 0;
    padding-right: 0;
  }
}

/* Mobile */
@media screen and (max-width: 767px) {
  body.chl-editorial {
    --chl-ed-pad: 24px;
  }

  .chl-ed-explore {
    --chl-ed-pad: 24px;
    padding: 2.25rem 0;
  }

  body.chl-editorial .chl-ed-faq {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  body.chl-editorial .chl-ed-faq__panel {
    padding: 0;
    background: transparent;
  }

  body.chl-editorial .chl-ed-hero {
    padding-top: 11.25rem;
    padding-bottom: 2rem;
  }

  body.chl-editorial .chl-ed-eyebrow {
    margin-bottom: 0.85rem;
    font-size: 0.68rem;
  }

  body.chl-editorial .chl-ed-title {
    margin-bottom: 0.95rem;
    font-size: clamp(1.85rem, 9.5vw, 2.45rem);
    line-height: 0.98;
  }

  body.chl-editorial .chl-ed-subline {
    margin-bottom: 1.1rem;
    font-size: 1.05rem;
    line-height: 1.4;
  }

  body.chl-editorial .chl-ed-intro {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  body.chl-editorial .chl-ed-section {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  body.chl-editorial .chl-ed-section--tight-top {
    padding-top: 2rem;
  }

  body.chl-editorial .chl-ed-section-title {
    margin-bottom: 1.5rem;
    font-size: 1.55rem;
  }

  body.chl-editorial .chl-ed-lead {
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  body.chl-editorial .chl-ed-thesis__copy p {
    margin-bottom: 1.25rem;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  body.chl-editorial .chl-ed-modules__grid,
  body.chl-editorial .chl-ed-modules__grid--2 {
    grid-template-columns: 1fr;
  }

  body.chl-editorial .chl-ed-module {
    padding: 1.2rem 1.1rem;
  }

  body.chl-editorial .chl-ed-row,
  body.chl-editorial .chl-ed-step {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0.75rem;
    padding: 1.15rem 0;
  }

  body.chl-editorial .chl-ed-row--labeled {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  body.chl-editorial .chl-ed-step__text,
  body.chl-editorial .chl-ed-row__text,
  body.chl-editorial .chl-ed-output__text,
  body.chl-editorial .chl-ed-usecase p,
  body.chl-editorial .chl-ed-faq__answer {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  body.chl-editorial .chl-ed-output {
    padding: 0.95rem 0;
  }

  body.chl-editorial .chl-ed-cta__title {
    font-size: 1.7rem;
    max-width: 100%;
  }

  body.chl-editorial .chl-ed-cta__copy {
    margin-bottom: 1.4rem;
    font-size: 0.95rem;
  }

  body.chl-editorial .chl-ed-cta__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  body.chl-editorial .chl-ed-cta__next {
    margin-top: 1.35rem;
  }

  body.chl-editorial .chl-ed-cta .button-with-circle-icon {
    width: auto;
  }

  body.chl-editorial .chl-ed-cta .button-arrow-wrapper {
    min-width: 2.65rem;
    max-width: 2.65rem;
    min-height: 2.65rem;
    max-height: 2.65rem;
  }

  body.chl-editorial .chl-ed-cta .button-flex-copy-copy {
    min-height: 2.65rem;
    padding: 0.35rem 1.35rem;
  }

  body.chl-editorial section.chl-ed-cta.chl-bottom-cta {
    padding-top: 2.5rem;
  }
}

/* Mobile scroll reveal — fail-safe: only fade when JS arms the page.
   Content stays fully readable if JS fails or observer never fires. */
body.chl-editorial .chl-ed-reveal {
  opacity: 1;
  transform: none;
}

@media screen and (max-width: 767px) {
  body.chl-editorial.chl-ed-reveal-armed .chl-ed-reveal:not(.is-in) {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }

  body.chl-editorial.chl-ed-reveal-armed .chl-ed-reveal {
    transition:
      opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }

  body.chl-editorial.chl-ed-reveal-armed .chl-ed-reveal.is-in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  body.chl-editorial.chl-ed-reveal-armed .chl-ed-reveal[data-ed-delay="1"] { transition-delay: 0.05s; }
  body.chl-editorial.chl-ed-reveal-armed .chl-ed-reveal[data-ed-delay="2"] { transition-delay: 0.1s; }
  body.chl-editorial.chl-ed-reveal-armed .chl-ed-reveal[data-ed-delay="3"] { transition-delay: 0.15s; }
  body.chl-editorial.chl-ed-reveal-armed .chl-ed-reveal[data-ed-delay="4"] { transition-delay: 0.2s; }
  body.chl-editorial.chl-ed-reveal-armed .chl-ed-reveal[data-ed-delay="5"] { transition-delay: 0.25s; }
}

@media (prefers-reduced-motion: reduce) {
  body.chl-editorial .chl-ed-reveal,
  body.chl-editorial .chl-ed-reveal[data-ed-delay],
  body.chl-editorial.chl-ed-reveal-armed .chl-ed-reveal:not(.is-in) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
