:root {
  --jioming-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, serif;
  --jioming-black: #11171a;
  --jioming-red-strong: #bd0a1a;
  --jioming-deep: #13262a;
  --jioming-paper: #f6f3ed;
}

/* Scenario cards: preserve the photography while creating a stable reading field. */
.editorial-cases :is(.editorial-cases__card, .editorial-cases__item, article) {
  position: relative;
  isolation: isolate;
}

.editorial-cases :is(.editorial-cases__card, .editorial-cases__item, article)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(5, 16, 19, 0.02) 0%,
      rgba(5, 16, 19, 0.1) 30%,
      rgba(5, 16, 19, 0.52) 58%,
      rgba(5, 16, 19, 0.92) 100%
    ),
    linear-gradient(90deg, rgba(5, 16, 19, 0.28) 0%, rgba(5, 16, 19, 0) 74%);
}

.editorial-cases :is(.editorial-cases__card, .editorial-cases__item, article) > * {
  position: relative;
  z-index: 2;
}

.editorial-cases :is(h3, .editorial-cases__title) {
  color: #fff !important;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.48);
}

.editorial-cases :is(p, .editorial-cases__description) {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  line-height: 1.78;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.56);
}

.editorial-cases :is(.eyebrow, .editorial-cases__eyebrow) {
  color: rgba(255, 255, 255, 0.78) !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.editorial-cases :is(.tag, .editorial-cases__tag) {
  color: rgba(255, 255, 255, 0.94) !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
  background: rgba(8, 20, 23, 0.28);
  backdrop-filter: blur(5px);
}

.editorial-cases :is(a, .editorial-cases__link) {
  color: #fff !important;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.62);
}

/* Organization intelligence: replace the temporary orbit diagram with brand art. */
.editorial-core :is(.editorial-core__orbit, .editorial-core__diagram, .editorial-core__graphic) {
  border: 0 !important;
  background: url("./images/organization-intelligence-core-v2-960.webp") center / contain no-repeat !important;
  filter: drop-shadow(0 28px 52px rgba(0, 0, 0, 0.32));
}

.editorial-core :is(.editorial-core__orbit, .editorial-core__diagram, .editorial-core__graphic) > * {
  opacity: 0 !important;
  pointer-events: none;
}

.editorial-core :is(.editorial-core__orbit, .editorial-core__diagram, .editorial-core__graphic)::before,
.editorial-core :is(.editorial-core__orbit, .editorial-core__diagram, .editorial-core__graphic)::after {
  content: none !important;
}

/* Stronger editorial typography: larger, tighter and closer to true black. */
.hero h1,
.about-section h2,
.capabilities .section-heading h2,
.metrics-section h2,
.vision-section h2,
.news-section h2,
.closing-cta h2,
.partner-wall__head h2,
.editorial-method h2,
.editorial-cases h2,
.editorial-core h2,
.editorial-cases h3 {
  font-family: var(--jioming-display);
  font-synthesis: weight;
  text-rendering: geometricPrecision;
}

.hero h1 {
  font-size: clamp(4.5rem, 5.25vw, 6.25rem);
  font-weight: 900 !important;
  line-height: 1.1;
  letter-spacing: -0.055em !important;
}

.about-section h2 {
  color: var(--jioming-black);
  font-size: clamp(3.8rem, 4.1vw, 4.9rem);
  font-weight: 700;
  line-height: 1.27;
  letter-spacing: -0.055em;
}

.capabilities .section-heading h2 {
  color: var(--jioming-black);
  font-size: clamp(4rem, 4.35vw, 5.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.06em;
}

.metrics-section h2,
.news-section h2,
.closing-cta h2,
.partner-wall__head h2 {
  font-weight: 700;
  letter-spacing: -0.055em;
}

.vision-section h2 {
  font-size: clamp(4.5rem, 5vw, 5.85rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.055em;
}

.editorial-kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.editorial-kicker::before {
  content: "";
  width: 2.6rem;
  height: 1px;
  background: currentColor;
}

.editorial-method {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  min-height: 40rem;
  margin-top: clamp(2rem, 5vw, 6rem);
}

.editorial-method__statement {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 7.2vw, 8.5rem);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 38%),
    var(--jioming-red-strong);
}

.editorial-method__statement h2 {
  max-width: 8.5em;
  margin: 0;
  font-size: clamp(3.4rem, 4.1vw, 4.9rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.06em;
}

.editorial-method__statement h2 span {
  display: block;
  white-space: nowrap;
}

.editorial-method__statement > p:last-child {
  max-width: 34rem;
  margin: 2.2rem 0 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: 1.05rem;
  line-height: 1.95;
}

.editorial-method__process {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 7vw, 8.5rem);
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(201, 0, 18, 0.16), transparent 26rem),
    linear-gradient(135deg, #1a3034 0%, #142528 100%);
}

.editorial-method__process header {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: 2rem;
  padding-bottom: 2.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.editorial-method__process header small {
  color: #ef6b76;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.editorial-method__process header p {
  max-width: 29rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
}

.editorial-method__process ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.editorial-method__process li {
  min-height: 15rem;
  padding: 2.5rem 2rem 1rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.editorial-method__process li + li {
  padding-left: 2rem;
}

.editorial-method__process li:last-child {
  border-right: 0;
}

.editorial-method__process b {
  display: block;
  margin-bottom: 3.2rem;
  color: #ef6b76;
  font-family: Georgia, serif;
  font-size: 0.78rem;
  font-weight: 400;
}

.editorial-method__process h3 {
  margin: 0 0 1rem;
  font-family: var(--jioming-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.editorial-method__process li p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.8;
}

.editorial-cases {
  padding-top: clamp(7rem, 10vw, 11rem);
  padding-bottom: clamp(7rem, 10vw, 11rem);
  background:
    radial-gradient(circle at 92% 8%, rgba(80, 139, 139, 0.1), transparent 30rem),
    #f1f4f2;
}

.editorial-cases__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 9rem);
  margin-bottom: clamp(3.5rem, 6vw, 6rem);
}

.editorial-cases__heading h2 {
  max-width: 8.4em;
  margin: 0;
  color: var(--jioming-black);
  font-size: clamp(4rem, 4.8vw, 5.75rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.06em;
}

.editorial-cases__heading h2 span {
  display: block;
  white-space: nowrap;
}

.editorial-cases__heading h2 em {
  color: var(--jioming-red-strong);
  font-style: normal;
}

.editorial-cases__heading > p {
  max-width: 30rem;
  margin: 0 0 0.6rem;
  color: #647174;
  line-height: 1.95;
}

.editorial-cases__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  grid-template-rows: repeat(2, minmax(20rem, 27rem));
  gap: 1rem;
}

.editorial-case {
  position: relative;
  overflow: hidden;
  min-height: 20rem;
  color: #fff;
  background: #15282b;
}

.editorial-case--primary {
  grid-row: 1 / span 2;
}

.editorial-case::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 17, 19, 0.02) 20%, rgba(6, 17, 19, 0.88) 100%);
}

.editorial-case img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.editorial-case:hover img {
  transform: scale(1.035);
}

.editorial-case__copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: clamp(2rem, 3.2vw, 3.7rem);
}

.editorial-case__copy small {
  display: block;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
}

.editorial-case__copy h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 2.6vw, 3.2rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.editorial-case__copy p {
  max-width: 34rem;
  margin: 1rem 0 1.4rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.editorial-case__copy span {
  display: inline-block;
  padding-top: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.editorial-core {
  display: grid;
  grid-template-columns: minmax(22rem, 0.82fr) minmax(0, 1.18fr);
  min-height: 49rem;
  color: #fff;
  background: #0f1d20;
}

.editorial-core__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 6.5vw, 8rem);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 42%),
    var(--jioming-red-strong);
}

.editorial-core__copy h2 {
  max-width: 8.5em;
  margin: 0;
  font-size: clamp(3.7rem, 4.5vw, 5.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.06em;
}

.editorial-core__copy h2 span {
  display: block;
  white-space: nowrap;
}

.editorial-core__copy > p:last-child {
  max-width: 32rem;
  margin: 2.2rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.95;
}

.editorial-core__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(3rem, 5vw, 6rem);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 43%, rgba(201, 0, 18, 0.22), transparent 19rem),
    #101f22;
  background-size: 4rem 4rem, 4rem 4rem, auto, auto;
}

.editorial-core__orbit {
  position: absolute;
  top: 45%;
  left: 50%;
  display: grid;
  width: clamp(15rem, 26vw, 25rem);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -58%);
}

.editorial-core__orbit::before,
.editorial-core__orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(201, 0, 18, 0.4);
  border-radius: 50%;
}

.editorial-core__orbit::before {
  inset: 13%;
}

.editorial-core__orbit::after {
  inset: 31%;
  background: rgba(5, 14, 16, 0.82);
}

.editorial-core__orbit strong {
  position: relative;
  z-index: 2;
  font-family: Georgia, serif;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.editorial-core__orbit i {
  position: absolute;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #e3182a;
  box-shadow: 0 0 1.4rem rgba(227, 24, 42, 0.85);
}

.editorial-core__orbit i:nth-child(2) {
  top: 8%;
  left: 48%;
}

.editorial-core__orbit i:nth-child(3) {
  right: 7%;
  bottom: 36%;
}

.editorial-core__orbit i:nth-child(4) {
  bottom: 9%;
  left: 31%;
}

.editorial-core__capabilities {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.editorial-core__capabilities article {
  min-height: 10rem;
  padding: 1.7rem 1.2rem 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.editorial-core__capabilities article + article {
  padding-left: 1.2rem;
}

.editorial-core__capabilities article:last-child {
  border-right: 0;
}

.editorial-core__capabilities b {
  color: #e3182a;
  font-family: Georgia, serif;
  font-size: 0.7rem;
  font-weight: 400;
}

.editorial-core__capabilities h3 {
  margin: 1.3rem 0 0.5rem;
  font-family: var(--jioming-display);
  font-size: 1.45rem;
  font-weight: 600;
}

.editorial-core__capabilities p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .editorial-method,
  .editorial-core {
    grid-template-columns: 1fr;
  }

  .editorial-method__statement,
  .editorial-method__process,
  .editorial-core__copy,
  .editorial-core__stage {
    min-height: 38rem;
  }

  .editorial-cases__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .editorial-case,
  .editorial-case--primary {
    grid-row: auto;
    min-height: 30rem;
  }

  .editorial-core__stage {
    min-height: 46rem;
  }
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(3.3rem, 14vw, 4.3rem);
  }

  .about-section h2,
  .capabilities .section-heading h2,
  .vision-section h2 {
    font-size: clamp(3rem, 12vw, 4rem);
    letter-spacing: -0.055em;
  }

  .editorial-method__statement,
  .editorial-method__process,
  .editorial-core__copy,
  .editorial-core__stage {
    min-height: auto;
    padding: 4.5rem 6vw;
  }

  .editorial-method__statement h2,
  .editorial-core__copy h2,
  .editorial-cases__heading h2 {
    font-size: clamp(2.85rem, 12vw, 3.8rem);
  }

  .editorial-method__statement h2 span,
  .editorial-core__copy h2 span,
  .editorial-cases__heading h2 span {
    white-space: normal;
  }

  .editorial-method__process header,
  .editorial-cases__heading {
    grid-template-columns: 1fr;
  }

  .editorial-method__process ol,
  .editorial-core__capabilities {
    grid-template-columns: 1fr 1fr;
  }

  .editorial-method__process li {
    min-height: 13rem;
    padding: 2rem 1.4rem 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .editorial-method__process li + li {
    padding-left: 1.4rem;
  }

  .editorial-method__process li:nth-child(2) {
    border-right: 0;
  }

  .editorial-case,
  .editorial-case--primary {
    min-height: 27rem;
  }

  .editorial-core__stage {
    min-height: 43rem;
  }

  .editorial-core__orbit {
    top: 42%;
    width: 17rem;
  }
}

/* Display headlines use semantic line breaks instead of visual punctuation. */
.display-line,
.hero h1 > span,
.about-section h2 > span,
.vision-section h2 > span {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(3rem, 13vw, 4rem);
  }

  .vision-section h2 {
    font-size: clamp(2.7rem, 11vw, 3.5rem);
  }

  .editorial-method__statement h2,
  .editorial-core__copy h2,
  .editorial-cases__heading h2 {
    font-size: clamp(2.6rem, 11vw, 3.45rem);
  }
}
