/* Restores the main site shell around imported impact-story pages. */
body.lightweight-impact-story {
  max-width: 100%;
  overflow-x: hidden;
}

.lightweight-impact-story :where(main, section, article, aside, div, p, h1, h2, h3, h4, ul, ol, li, dl, dt, dd) {
  min-width: 0;
  max-width: 100%;
}

.lightweight-impact-story .site-header {
  top: 0;
  z-index: 100;
  width: 100%;
  max-width: 100vw;
}

.lightweight-impact-story .story-file-nav {
  top: 84px;
  z-index: 70;
  width: min(1140px, calc(100% - 48px));
  max-width: calc(100vw - 48px);
  margin-top: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.lightweight-impact-story .story-file-nav::-webkit-scrollbar {
  display: none;
}

.lightweight-impact-story .story-editor-page {
  width: min(1140px, calc(100% - 48px));
  max-width: calc(100vw - 48px);
}

.lightweight-impact-story .story-summary-shell,
.lightweight-impact-story .case-section,
.lightweight-impact-story .story-summary-copy,
.lightweight-impact-story .story-summary-card {
  min-width: 0;
  max-width: 100%;
}

.lightweight-impact-story .site-footer {
  margin-top: 0;
  max-width: 100vw;
  overflow: hidden;
}

.lightweight-impact-story .footer-logo img {
  width: min(182px, 64vw);
  max-width: 100%;
}

@media (max-width: 960px) {
  .lightweight-impact-story .site-header {
    padding-inline: 16px;
  }

  .lightweight-impact-story .site-header .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .lightweight-impact-story .site-header .brand img {
    width: min(210px, 58vw) !important;
    max-width: 100%;
    max-height: 56px;
    object-fit: contain;
  }

  .lightweight-impact-story .site-header > .button {
    display: none;
  }

  .lightweight-impact-story .menu-toggle {
    flex: 0 0 44px;
    margin-left: auto;
  }

  .lightweight-impact-story .main-nav {
    left: 16px;
    right: 16px;
    max-width: calc(100vw - 32px);
  }

  .lightweight-impact-story .story-file-nav {
    top: 76px;
  }

  .lightweight-impact-story .story-summary-shell {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "copy"
      "media" !important;
    gap: 20px;
  }

  .lightweight-impact-story .story-summary-copy {
    grid-area: copy;
  }

  .lightweight-impact-story .story-summary-card {
    grid-area: media;
  }
}

@media (max-width: 780px) {
  .lightweight-impact-story .story-file-nav {
    top: 72px;
    width: min(100% - 32px, 1140px);
    max-width: calc(100vw - 32px);
    gap: 8px;
    padding-top: 10px;
  }

  .lightweight-impact-story .story-file-nav a {
    min-width: 42px;
    flex: 0 0 auto;
  }

  .lightweight-impact-story .story-editor-page {
    width: min(100% - 28px, 1140px);
    max-width: calc(100vw - 28px);
    padding-top: 16px;
  }

  .lightweight-impact-story .story-summary-shell {
    width: 100%;
    padding: 16px !important;
    border-radius: 12px !important;
    overflow: hidden;
  }

  .lightweight-impact-story .story-summary-copy,
  .lightweight-impact-story .story-summary-card {
    width: 100%;
    padding: 20px !important;
    border-radius: 10px !important;
  }

  .lightweight-impact-story .story-summary-copy h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .lightweight-impact-story .story-summary-copy p,
  .lightweight-impact-story .story-summary-lead {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .lightweight-impact-story .story-summary-card > img {
    width: 100%;
    height: clamp(180px, 54vw, 240px) !important;
    min-height: 0 !important;
    object-fit: cover;
  }

  .lightweight-impact-story .story-summary-card dl,
  .lightweight-impact-story :where(.case-scope, .case-risk-grid, .case-table-grid, .case-initiative-grid, .implementation-list, .outcome-stack, .retail-context-stats, .d2c-context-stats, .telecom-context-stats, .retail-linkage-grid, .telecom-driver-grid, .leading-indicators > div, .action-recommendations, .driver-definition-table, .case-action-table, .d2c-linkage-cards > div) {
    display: grid !important;
    grid-auto-flow: row !important;
    grid-auto-columns: minmax(0, 1fr) !important;
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: visible !important;
  }

  .lightweight-impact-story .story-summary-card dl div,
  .lightweight-impact-story :where(.case-scope > *, .case-risk-grid > *, .case-table-grid > *, .case-initiative-grid > *, .implementation-list > *, .outcome-stack > *, .retail-context-stats > *, .d2c-context-stats > *, .telecom-context-stats > *, .retail-linkage-grid > *, .telecom-driver-grid > *, .leading-indicators > div > *, .action-recommendations > *, .driver-definition-table > *, .case-action-table > *, .d2c-linkage-cards > div > *) {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .lightweight-impact-story .story-product-stack {
    flex-wrap: wrap;
  }

  .lightweight-impact-story .story-product-pill {
    max-width: 100%;
  }

  .lightweight-impact-story .story-summary-product-logo {
    max-width: 128px;
  }

  .lightweight-impact-story .case-section {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    padding: 28px 0 !important;
  }

  .lightweight-impact-story .case-section-heading,
  .lightweight-impact-story .case-section > :not(.case-section-heading) {
    grid-column: 1 !important;
    width: 100% !important;
  }

  .lightweight-impact-story .case-section-heading h2 {
    overflow-wrap: anywhere;
  }

  .lightweight-impact-story .case-section p,
  .lightweight-impact-story .case-section li,
  .lightweight-impact-story .case-section dd {
    overflow-wrap: anywhere;
  }

  .lightweight-impact-story .case-table-grid table {
    width: 100% !important;
    table-layout: fixed !important;
  }

  .lightweight-impact-story .case-table-grid th,
  .lightweight-impact-story .case-table-grid td {
    overflow-wrap: anywhere !important;
  }

  .lightweight-impact-story .footer-main,
  .lightweight-impact-story .footer-bottom {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .lightweight-impact-story .story-summary-shell {
    padding: 14px !important;
  }

  .lightweight-impact-story .story-summary-copy,
  .lightweight-impact-story .story-summary-card,
  .lightweight-impact-story :where(.implementation-list article, .driver-definition-table > div, .case-action-table > div:not(.case-action-table-heading), .action-recommendations > article, .outcome-stack > article, .leading-indicators article) {
    padding: 18px !important;
  }

  .lightweight-impact-story .implementation-list article {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .lightweight-impact-story .implementation-list span,
  .lightweight-impact-story .implementation-list h3,
  .lightweight-impact-story .implementation-list p,
  .lightweight-impact-story .driver-definition-table > div > strong,
  .lightweight-impact-story .driver-definition-table > div > p,
  .lightweight-impact-story .case-action-table > div:not(.case-action-table-heading) > strong,
  .lightweight-impact-story .case-action-table > div:not(.case-action-table-heading) > p,
  .lightweight-impact-story .action-recommendations > article > h3,
  .lightweight-impact-story .action-recommendations > article > strong,
  .lightweight-impact-story .action-recommendations > article > p {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: auto !important;
    max-width: 100% !important;
  }
}

/* ATP visual-system pass: keep imported sizing, align typeface, color, and surfaces. */
html:has(body.lightweight-impact-story)::before {
  display: none !important;
}

body.lightweight-impact-story {
  background: #ffffff !important;
  color: #222222 !important;
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

.lightweight-impact-story :where(h1, h2, h3, h4, strong, b, p, li, dt, dd, span, a, button) {
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

.lightweight-impact-story :where(.story-summary-copy h1, .case-section-heading h2, .outcome-stack article > strong, .leading-indicators article > strong) {
  color: #222222 !important;
  font-weight: 720 !important;
}

body.lightweight-impact-story .story-summary-copy h1,
body.lightweight-impact-story .case-section-heading h2,
body.lightweight-impact-story .case-study-detail h3,
body.lightweight-impact-story .case-study-detail h4,
body.lightweight-impact-story .story-summary-card dd,
body.lightweight-impact-story .retail-context-stats strong,
body.lightweight-impact-story .d2c-context-stats strong,
body.lightweight-impact-story .telecom-context-stats strong,
body.lightweight-impact-story .outcome-stack article > strong,
body.lightweight-impact-story .leading-indicators article > strong,
body.lightweight-impact-story .case-action-table > div > strong,
body.lightweight-impact-story .driver-definition-table > div > strong,
body.lightweight-impact-story .action-recommendations > article > h3,
body.lightweight-impact-story .action-recommendations > article > strong,
body.lightweight-impact-story .roi-callout strong {
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

.lightweight-impact-story :where(.story-summary-copy p, .story-summary-lead, .case-section-heading p, .case-section p, .case-section li, .case-section dd, .case-note, .roi-callout) {
  color: #56616d !important;
}

.lightweight-impact-story .story-file-nav {
  background: rgba(255, 255, 255, .96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lightweight-impact-story .story-file-nav a {
  border-color: #dce4ec !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #222222 !important;
  box-shadow: none !important;
}

.lightweight-impact-story .story-file-nav a:hover,
.lightweight-impact-story .story-file-nav a:focus-visible,
.lightweight-impact-story .story-file-nav a.is-active {
  border-color: #1f1f1f !important;
  background: #1f1f1f !important;
  color: #ffffff !important;
}

.lightweight-impact-story .story-summary-shell {
  border: 1px solid #dce4ec !important;
  border-radius: 10px !important;
  background:
    linear-gradient(135deg, rgba(247, 250, 255, .98), rgba(237, 247, 237, .72)) !important;
  box-shadow: none !important;
}

.lightweight-impact-story .story-summary-shell::before,
.lightweight-impact-story .story-summary-shell::after,
.lightweight-impact-story .story-summary-copy h1::after {
  content: none !important;
  display: none !important;
}

.lightweight-impact-story .story-summary-copy {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.lightweight-impact-story .story-summary-card {
  border: 1px solid #dce4ec !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.lightweight-impact-story .story-summary-card > img {
  border-radius: 8px !important;
}

.lightweight-impact-story .story-summary-card dl div,
.lightweight-impact-story :where(.case-risk-grid, .case-table-grid, .case-initiative-grid, .implementation-list, .outcome-stack, .retail-context-stats, .d2c-context-stats, .telecom-context-stats, .retail-linkage-grid, .telecom-driver-grid, .leading-indicators > div, .action-recommendations, .driver-definition-table, .case-action-table, .d2c-linkage-cards > div) > :where(article, div) {
  border: 1px solid #dce4ec !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.lightweight-impact-story .story-summary-card dl div:nth-child(4n+1),
.lightweight-impact-story :where(.retail-context-stats, .d2c-context-stats, .telecom-context-stats, .leading-indicators > div, .outcome-stack) > :where(article, div):nth-child(4n+1) {
  background: #f7faff !important;
}

.lightweight-impact-story .story-summary-card dl div:nth-child(4n+2),
.lightweight-impact-story :where(.retail-context-stats, .d2c-context-stats, .telecom-context-stats, .leading-indicators > div, .outcome-stack) > :where(article, div):nth-child(4n+2) {
  background: #edf7ed !important;
}

.lightweight-impact-story .story-summary-card dl div:nth-child(4n+3),
.lightweight-impact-story :where(.retail-context-stats, .d2c-context-stats, .telecom-context-stats, .leading-indicators > div, .outcome-stack) > :where(article, div):nth-child(4n+3) {
  background: #fff7e6 !important;
}

.lightweight-impact-story .story-summary-card dl div:nth-child(4n),
.lightweight-impact-story :where(.retail-context-stats, .d2c-context-stats, .telecom-context-stats, .leading-indicators > div, .outcome-stack) > :where(article, div):nth-child(4n) {
  background: #fbf1f6 !important;
}

.lightweight-impact-story .story-product-pill,
.lightweight-impact-story .case-scope-logo {
  border: 1px solid #dce4ec !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.lightweight-impact-story .case-section {
  border-top: 1px solid #dce4ec !important;
  background: transparent !important;
}

.lightweight-impact-story .case-section::before {
  content: none !important;
  display: none !important;
}

.lightweight-impact-story .case-section-heading > span,
.lightweight-impact-story .story-summary-card dt,
.lightweight-impact-story .case-action-table > div > strong,
.lightweight-impact-story .driver-definition-table > div > strong {
  color: #56616d !important;
}

.lightweight-impact-story .case-note,
.lightweight-impact-story .roi-callout {
  border: 1px solid #dce4ec !important;
  border-radius: 8px !important;
  background: #f7faff !important;
  box-shadow: none !important;
}

/* Outcome metrics: keep impact story result cards readable and aligned. */
body.lightweight-impact-story .case-section .outcome-stack {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2vw, 28px) !important;
  overflow: visible !important;
  align-items: stretch !important;
}

body.lightweight-impact-story .case-section .outcome-stack > article {
  min-width: 0 !important;
  min-height: 0 !important;
  padding: clamp(26px, 2.7vw, 38px) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: clamp(13px, 1.25vw, 18px) !important;
  border: 0 !important;
  border-radius: 10px !important;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, .92), rgba(239, 247, 255, .78)) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.lightweight-impact-story .case-section .outcome-stack > article:nth-child(2) {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, .9), rgba(255, 247, 209, .78)) !important;
}

body.lightweight-impact-story .case-section .outcome-stack > article:nth-child(3) {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, .9), rgba(221, 237, 251, .82)) !important;
}

body.lightweight-impact-story .case-section .outcome-stack > article::before,
body.lightweight-impact-story .case-section .outcome-stack > article::after {
  content: none !important;
  display: none !important;
}

body.lightweight-impact-story .case-section .outcome-stack > article > strong {
  display: block !important;
  margin: 0 !important;
  max-width: 100% !important;
  color: #222222 !important;
  font-size: clamp(34px, 3.2vw, 52px) !important;
  line-height: .98 !important;
  font-weight: 560 !important;
  letter-spacing: 0 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  text-wrap: balance !important;
}

body.lightweight-impact-story .case-section .outcome-stack h3 {
  margin: 0 !important;
  max-width: 19ch !important;
  color: #222222 !important;
  font-size: clamp(21px, 1.6vw, 28px) !important;
  line-height: 1.12 !important;
  font-weight: 720 !important;
}

body.lightweight-impact-story .case-section .outcome-stack ul {
  margin: 2px 0 0 !important;
  padding-left: 1.05em !important;
  list-style: disc !important;
}

body.lightweight-impact-story .case-section .outcome-stack li,
body.lightweight-impact-story .case-section .outcome-stack p {
  max-width: 34ch !important;
  color: #56616d !important;
  font-size: clamp(15px, 1.08vw, 17px) !important;
  line-height: 1.45 !important;
  font-weight: 430 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

body.lightweight-impact-story .case-section .outcome-stack li + li {
  margin-top: 8px !important;
}

body.lightweight-impact-story .case-section .outcome-stack li strong,
body.lightweight-impact-story .case-section .outcome-stack p strong {
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: 650 !important;
}

/* Story typography and detail tables: Happy Times only belongs to the main story headline. */
body.lightweight-impact-story .story-summary-copy h1 {
  font-family: "Happy Times", Georgia, serif !important;
  font-size: clamp(58px, 6.1vw, 92px) !important;
  font-weight: 700 !important;
  line-height: .94 !important;
  letter-spacing: 0 !important;
  color: #222222 !important;
}

body.lightweight-impact-story .case-section-heading h2,
body.lightweight-impact-story .case-study-detail h3,
body.lightweight-impact-story .case-study-detail h4,
body.lightweight-impact-story .impact-story-cta h2 {
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-weight: 720 !important;
  letter-spacing: 0 !important;
}

body.lightweight-impact-story .case-table-grid table {
  width: 100% !important;
  border-collapse: collapse !important;
}

body.lightweight-impact-story .case-table-grid th,
body.lightweight-impact-story .case-table-grid td {
  padding: 18px 0 !important;
  border: 0 !important;
  vertical-align: middle !important;
}

body.lightweight-impact-story .case-table-grid thead tr {
  border-bottom: 1px solid rgba(86, 97, 109, .22) !important;
}

body.lightweight-impact-story .case-table-grid tbody tr + tr {
  border-top: 1px solid rgba(86, 97, 109, .16) !important;
}

body.lightweight-impact-story .case-table-grid th:last-child,
body.lightweight-impact-story .case-table-grid td:last-child {
  text-align: left !important;
}

body.lightweight-impact-story .impact-story-cta {
  width: 100% !important;
  margin: clamp(42px, 6vw, 84px) 0 clamp(54px, 7vw, 96px) !important;
  padding: clamp(28px, 4vw, 52px) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 28px !important;
  align-items: center !important;
  border: 0 !important;
  border-radius: 10px !important;
  background:
    linear-gradient(135deg, rgba(247, 250, 255, .98), rgba(251, 241, 246, .9) 52%, rgba(237, 247, 237, .82)) !important;
  box-shadow: none !important;
}

body.lightweight-impact-story .impact-story-cta span {
  display: block !important;
  margin: 0 0 12px !important;
  color: #56616d !important;
  font-size: 13px !important;
  font-weight: 760 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

body.lightweight-impact-story .impact-story-cta h2 {
  max-width: 760px !important;
  margin: 0 !important;
  color: #222222 !important;
  font-size: clamp(28px, 3.4vw, 48px) !important;
  line-height: 1.02 !important;
}

body.lightweight-impact-story .impact-story-cta-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  justify-content: flex-end !important;
}

body.lightweight-impact-story .impact-story-cta .button {
  min-height: 52px !important;
  padding: 0 22px !important;
  border-radius: 7px !important;
  font-size: 16px !important;
  white-space: nowrap !important;
}

body.lightweight-impact-story .impact-story-cta .button-light {
  border: 1px solid #dce4ec !important;
  background: rgba(255, 255, 255, .84) !important;
  color: #222222 !important;
}

@media (max-width: 980px) {
  body.lightweight-impact-story .case-section .outcome-stack {
    grid-template-columns: 1fr !important;
  }

  body.lightweight-impact-story .case-section .outcome-stack > article > strong {
    font-size: clamp(32px, 8vw, 46px) !important;
  }

  body.lightweight-impact-story .case-section .outcome-stack h3,
  body.lightweight-impact-story .case-section .outcome-stack li,
  body.lightweight-impact-story .case-section .outcome-stack p {
    max-width: none !important;
  }

  body.lightweight-impact-story .story-summary-copy h1 {
    font-size: clamp(46px, 12vw, 70px) !important;
  }

  body.lightweight-impact-story .impact-story-cta {
    grid-template-columns: 1fr !important;
  }

  body.lightweight-impact-story .impact-story-cta-actions {
    justify-content: flex-start !important;
  }
}

@media (max-width: 560px) {
  body.lightweight-impact-story .impact-story-cta .button {
    width: 100% !important;
  }
}

/* Final story-page cleanup: compact hero, sane mobile nav, and responsive card rhythm. */
body.lightweight-impact-story .story-summary-shell {
  padding: clamp(34px, 5vw, 68px) !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr) !important;
  align-items: center !important;
  gap: clamp(28px, 4vw, 58px) !important;
  border: 0 !important;
  border-radius: 10px !important;
  background:
    linear-gradient(135deg, rgba(247, 250, 255, .92), rgba(237, 247, 237, .62) 55%, rgba(251, 241, 246, .55)) !important;
  overflow: hidden !important;
}

body.lightweight-impact-story .story-summary-copy {
  padding: 0 !important;
}

body.lightweight-impact-story .story-summary-copy h1 {
  max-width: 12.5ch !important;
  font-family: "Happy Times", Georgia, serif !important;
  font-size: clamp(42px, 5vw, 68px) !important;
  font-weight: 700 !important;
  line-height: .96 !important;
}

body.lightweight-impact-story .story-summary-copy p {
  max-width: 58ch !important;
  font-size: clamp(18px, 1.45vw, 24px) !important;
  line-height: 1.42 !important;
}

body.lightweight-impact-story .story-summary-card {
  display: grid !important;
  gap: 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.lightweight-impact-story .story-summary-card > img {
  width: 100% !important;
  height: clamp(220px, 23vw, 320px) !important;
  border-radius: 10px !important;
  object-fit: cover !important;
}

body.lightweight-impact-story .story-summary-card dl {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 !important;
}

body.lightweight-impact-story .story-summary-card dl div {
  min-height: 0 !important;
  padding: 14px 16px !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

body.lightweight-impact-story .story-summary-card .story-summary-using {
  grid-column: 1 / -1 !important;
  background: rgba(255, 255, 255, .72) !important;
}

body.lightweight-impact-story .story-summary-card dt {
  margin-bottom: 8px !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

body.lightweight-impact-story .story-summary-card dd {
  margin: 0 !important;
  font-size: clamp(15px, 1.1vw, 19px) !important;
  line-height: 1.22 !important;
  font-weight: 720 !important;
}

body.lightweight-impact-story .story-product-stack {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

body.lightweight-impact-story .story-product-pill {
  padding: 8px 12px !important;
  border: 0 !important;
  background: rgba(255, 255, 255, .86) !important;
}

body.lightweight-impact-story .story-summary-product-logo {
  width: auto !important;
  max-width: 122px !important;
  max-height: 24px !important;
}

body.lightweight-impact-story .case-section-heading h2 {
  max-width: 18ch !important;
  font-size: clamp(30px, 3vw, 46px) !important;
  line-height: 1.06 !important;
}

body.lightweight-impact-story .case-section-heading .risk-lead-statement,
body.lightweight-impact-story .case-section-heading p.risk-lead-statement {
  max-width: 780px !important;
  color: #222222 !important;
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: clamp(24px, 2.2vw, 34px) !important;
  font-weight: 720 !important;
  line-height: 1.12 !important;
}

body.lightweight-impact-story .implementation-list article {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 10px 18px !important;
}

body.lightweight-impact-story .implementation-list article > span {
  position: static !important;
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding-top: .22em !important;
  transform: none !important;
  color: #cf2f6b !important;
  font-size: 15px !important;
  font-weight: 780 !important;
  line-height: 1 !important;
  text-align: left !important;
  background: transparent !important;
  z-index: auto !important;
}

body.lightweight-impact-story .implementation-list article > h3,
body.lightweight-impact-story .implementation-list article > p {
  grid-column: 2 !important;
  width: auto !important;
  max-width: 100% !important;
}

body.lightweight-impact-story .implementation-list article > h3 {
  margin: 0 !important;
  font-size: clamp(21px, 1.8vw, 28px) !important;
  line-height: 1.12 !important;
}

body.lightweight-impact-story .implementation-list article > p {
  margin: 0 !important;
}

@media (max-width: 980px) {
  body.lightweight-impact-story .site-header .main-nav {
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
    max-width: calc(100vw - 32px) !important;
    overflow: hidden auto !important;
  }

  body.lightweight-impact-story .site-header .nav-group,
  body.lightweight-impact-story .site-header .nav-dropdown {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.lightweight-impact-story .site-header .nav-dropdown {
    position: static !important;
    display: none !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  body.lightweight-impact-story .site-header .nav-group.is-open .nav-dropdown {
    display: grid !important;
    gap: 8px !important;
    margin-top: 8px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body.lightweight-impact-story .site-header .nav-dropdown a {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 12px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
  }

  body.lightweight-impact-story .site-header .nav-dropdown .wordmark {
    width: min(132px, 100%) !important;
    max-width: 132px !important;
    max-height: 26px !important;
    object-fit: contain !important;
    object-position: left center !important;
  }

  body.lightweight-impact-story .site-header .nav-dropdown a span {
    display: none !important;
  }

  body.lightweight-impact-story .story-summary-shell {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
    padding: clamp(24px, 5vw, 42px) !important;
  }

  body.lightweight-impact-story .story-summary-copy h1 {
    max-width: 13.5ch !important;
    font-size: clamp(38px, 8vw, 56px) !important;
  }
}

@media (max-width: 720px) {
  body.lightweight-impact-story .story-editor-page {
    width: min(100% - 24px, 1140px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  body.lightweight-impact-story .story-summary-shell {
    padding: 22px !important;
  }

  body.lightweight-impact-story .story-summary-card dl {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.lightweight-impact-story .story-summary-card .story-summary-using {
    grid-column: auto !important;
  }

  body.lightweight-impact-story .story-summary-copy h1 {
    max-width: 100% !important;
    font-size: clamp(34px, 9vw, 42px) !important;
    line-height: .98 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  body.lightweight-impact-story .story-summary-copy p {
    font-size: 17px !important;
    line-height: 1.42 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  body.lightweight-impact-story .case-section-heading h2 {
    max-width: 100% !important;
    font-size: clamp(25px, 6.2vw, 31px) !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  body.lightweight-impact-story .case-section-heading .risk-lead-statement,
  body.lightweight-impact-story .case-section-heading p.risk-lead-statement {
    font-size: clamp(22px, 6vw, 30px) !important;
  }

  body.lightweight-impact-story .implementation-list article {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  body.lightweight-impact-story .implementation-list article > span,
  body.lightweight-impact-story .implementation-list article > h3,
  body.lightweight-impact-story .implementation-list article > p {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  body.lightweight-impact-story .implementation-list article > span {
    padding: 0 !important;
    font-size: 13px !important;
  }

  body.lightweight-impact-story .implementation-list article > h3 {
    font-size: clamp(19px, 5.2vw, 24px) !important;
  }
}

/* Last-mile story fixes after visual QA. */
body.lightweight-impact-story .story-summary-copy h1 {
  font-weight: 400 !important;
}

body.lightweight-impact-story .case-section-heading h2 {
  font-size: clamp(28px, 2.7vw, 42px) !important;
  line-height: 1.08 !important;
  font-weight: 680 !important;
}

body.lightweight-impact-story .implementation-list article > h3 {
  font-size: clamp(20px, 1.6vw, 26px) !important;
  line-height: 1.14 !important;
  font-weight: 680 !important;
}

@media (max-width: 720px) {
  body.lightweight-impact-story .case-section {
    padding-block: 34px !important;
  }

  body.lightweight-impact-story .case-section-heading h2 {
    font-size: clamp(25px, 6.2vw, 31px) !important;
    line-height: 1.1 !important;
  }

  body.lightweight-impact-story .implementation-list article {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 24px !important;
  }

  body.lightweight-impact-story .implementation-list article > span,
  body.lightweight-impact-story .implementation-list article > h3,
  body.lightweight-impact-story .implementation-list article > p {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    transform: none !important;
    text-align: left !important;
  }

  body.lightweight-impact-story .implementation-list article > span {
    order: 0 !important;
    display: block !important;
    color: #cf2f6b !important;
    font-size: 13px !important;
    font-weight: 780 !important;
    line-height: 1 !important;
  }

  body.lightweight-impact-story .implementation-list article > h3 {
    order: 1 !important;
    font-size: clamp(19px, 5.2vw, 24px) !important;
    line-height: 1.12 !important;
  }

  body.lightweight-impact-story .implementation-list article > p {
    order: 2 !important;
    font-size: clamp(16px, 4.4vw, 18.5px) !important;
    line-height: 1.45 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}

/* Hard reset for implementation cards: title first, copy second, no overlap on laptop/mobile. */
body.lightweight-impact-story .case-study-detail .implementation-list {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
}

body.lightweight-impact-story .case-study-detail .implementation-list > article {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  grid-auto-flow: row !important;
  align-items: start !important;
  align-content: start !important;
  gap: 10px 18px !important;
}

body.lightweight-impact-story .case-study-detail .implementation-list > article > span {
  position: static !important;
  inset: auto !important;
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  align-self: start !important;
  justify-self: start !important;
  order: initial !important;
  transform: none !important;
}

body.lightweight-impact-story .case-study-detail .implementation-list > article > h3 {
  position: static !important;
  inset: auto !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  order: initial !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  transform: none !important;
}

body.lightweight-impact-story .case-study-detail .implementation-list > article > p {
  position: static !important;
  inset: auto !important;
  grid-column: 2 !important;
  grid-row: 2 !important;
  order: initial !important;
  width: auto !important;
  max-width: 82ch !important;
  margin: 0 !important;
  transform: none !important;
}

@media (max-width: 720px) {
  body.lightweight-impact-story .case-study-detail .implementation-list > article {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    gap: 12px !important;
  }

  body.lightweight-impact-story .case-study-detail .implementation-list > article > span {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body.lightweight-impact-story .case-study-detail .implementation-list > article > h3 {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  body.lightweight-impact-story .case-study-detail .implementation-list > article > p {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }
}

/* Final case-study layout lock: centered scope block and non-overlapping implementation cards. */
body.lightweight-impact-story .case-study-detail .case-scope {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
  width: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #f5f8fb !important;
  border: 0 !important;
  border-radius: 10px !important;
}

body.lightweight-impact-story .case-study-detail .case-scope > p {
  grid-column: 1 / -1 !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(22px, 3vw, 34px) clamp(18px, 4vw, 48px) !important;
  border-bottom: 1px solid rgba(86, 97, 109, .18) !important;
  color: #56616d !important;
  font-size: clamp(20px, 2.2vw, 32px) !important;
  font-weight: 720 !important;
  line-height: 1.08 !important;
  text-align: center !important;
  white-space: normal !important;
}

body.lightweight-impact-story .case-study-detail .case-scope > p span {
  line-height: inherit !important;
}

body.lightweight-impact-story .case-study-detail .case-scope-wordmark,
body.lightweight-impact-story .case-study-detail .text-wordmark {
  display: inline-flex !important;
  white-space: nowrap !important;
}

body.lightweight-impact-story .case-study-detail .case-scope > div {
  display: grid !important;
  min-width: 0 !important;
  width: 100% !important;
  padding: clamp(22px, 3vw, 34px) !important;
  border: 0 !important;
  background: transparent !important;
  text-align: center !important;
  align-content: center !important;
  justify-items: center !important;
}

body.lightweight-impact-story .case-study-detail .case-scope > div + div {
  border-left: 1px solid rgba(86, 97, 109, .18) !important;
}

body.lightweight-impact-story .case-study-detail .case-scope > div strong {
  margin: 0 !important;
  font-size: clamp(38px, 5vw, 68px) !important;
  font-weight: 760 !important;
  line-height: .95 !important;
  letter-spacing: 0 !important;
}

body.lightweight-impact-story .case-study-detail .case-scope > div span {
  max-width: 24ch !important;
  margin-top: 8px !important;
  color: #222222 !important;
  font-size: clamp(17px, 1.4vw, 22px) !important;
  font-weight: 680 !important;
  line-height: 1.22 !important;
  text-align: center !important;
}

body.lightweight-impact-story .case-study-detail .implementation-list {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 18px !important;
}

body.lightweight-impact-story .case-study-detail .implementation-list > article {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  gap: 10px 20px !important;
  min-height: 0 !important;
  padding: clamp(22px, 2.8vw, 34px) !important;
  background: #f4f0ea !important;
  border: 1px solid rgba(86, 97, 109, .18) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  align-items: start !important;
  align-content: start !important;
}

body.lightweight-impact-story .case-study-detail .implementation-list > article::before,
body.lightweight-impact-story .case-study-detail .implementation-list > article::after {
  display: none !important;
  content: none !important;
}

body.lightweight-impact-story .case-study-detail .implementation-list > article > span,
body.lightweight-impact-story .case-study-detail .implementation-list > article > h3,
body.lightweight-impact-story .case-study-detail .implementation-list > article > p {
  position: static !important;
  inset: auto !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  text-align: left !important;
}

body.lightweight-impact-story .case-study-detail .implementation-list > article > span {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  display: block !important;
  color: #cf2f6b !important;
  font-size: 15px !important;
  font-weight: 780 !important;
  line-height: 1.1 !important;
}

body.lightweight-impact-story .case-study-detail .implementation-list > article > h3 {
  grid-column: 2 !important;
  grid-row: 1 !important;
  color: #222222 !important;
  font-size: clamp(22px, 1.8vw, 30px) !important;
  font-weight: 720 !important;
  line-height: 1.12 !important;
}

body.lightweight-impact-story .case-study-detail .implementation-list > article > p {
  grid-column: 2 !important;
  grid-row: 2 !important;
  max-width: 82ch !important;
  color: #56616d !important;
  font-size: clamp(17px, 1.25vw, 21px) !important;
  font-weight: 450 !important;
  line-height: 1.42 !important;
}

@media (max-width: 720px) {
  body.lightweight-impact-story .case-study-detail .case-scope {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.lightweight-impact-story .case-study-detail .case-scope > p {
    font-size: clamp(20px, 6.4vw, 28px) !important;
    line-height: 1.08 !important;
  }

  body.lightweight-impact-story .case-study-detail .case-scope > div + div {
    border-left: 0 !important;
    border-top: 1px solid rgba(86, 97, 109, .18) !important;
  }

  body.lightweight-impact-story .case-study-detail .implementation-list > article {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    gap: 12px !important;
    padding: 24px !important;
  }

  body.lightweight-impact-story .case-study-detail .implementation-list > article > span,
  body.lightweight-impact-story .case-study-detail .implementation-list > article > h3,
  body.lightweight-impact-story .case-study-detail .implementation-list > article > p {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}

/* Final story-card cleanup: lighter summary metrics and clean action intro rows. */
body.lightweight-impact-story .story-summary-card dd,
body.lightweight-impact-story .story-summary-card dd span,
body.lightweight-impact-story .story-summary-card .story-summary-outcome span {
  color: #222222 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

body.lightweight-impact-story .story-summary-card dt {
  color: #56616d !important;
  font-weight: 720 !important;
}

body.lightweight-impact-story .case-study-detail .action-recommendations,
body.lightweight-impact-story .case-study-detail .case-action-table {
  gap: 14px !important;
}

body.lightweight-impact-story .case-study-detail .action-recommendations > p,
body.lightweight-impact-story .case-study-detail .case-action-table-heading {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 0 2px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.lightweight-impact-story .case-study-detail .action-recommendations > p,
body.lightweight-impact-story .case-study-detail .case-action-table-heading p {
  max-width: 72ch !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #56616d !important;
  font-size: clamp(15px, 1.05vw, 17px) !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}

body.lightweight-impact-story .case-study-detail .case-action-table-heading::before,
body.lightweight-impact-story .case-study-detail .case-action-table-heading::after {
  display: none !important;
  content: none !important;
}

body.lightweight-impact-story .case-study-detail .action-recommendations > article,
body.lightweight-impact-story .case-study-detail .case-action-table > div:not(.case-action-table-heading) {
  border: 0 !important;
  box-shadow: none !important;
}

/* Final case-study nav lock: keep product dropdown compact inside imported story pages. */
body.lightweight-impact-story .site-header .nav-dropdown {
  width: min(420px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  gap: 4px !important;
  padding: 8px !important;
  overflow: hidden !important;
}

body.lightweight-impact-story .site-header .nav-dropdown a {
  display: grid !important;
  grid-template-columns: 106px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 12px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

body.lightweight-impact-story .site-header .nav-dropdown a > img.wordmark {
  display: block !important;
  width: auto !important;
  max-width: 106px !important;
  height: auto !important;
  max-height: 24px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

body.lightweight-impact-story .site-header .nav-dropdown a > span {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  color: #56616d !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.32 !important;
  overflow-wrap: normal !important;
}

@media (max-width: 980px) {
  body.lightweight-impact-story .site-header .nav-dropdown {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }

  body.lightweight-impact-story .site-header .nav-group.is-open .nav-dropdown {
    display: grid !important;
    gap: 8px !important;
    margin-top: 8px !important;
  }

  body.lightweight-impact-story .site-header .nav-dropdown a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 50px !important;
    padding: 12px 14px !important;
  }

  body.lightweight-impact-story .site-header .nav-dropdown a > img.wordmark {
    max-width: 132px !important;
    max-height: 26px !important;
  }

  body.lightweight-impact-story .site-header .nav-dropdown a > span {
    display: none !important;
  }
}

/* Final outcome-card scale: keep case-study result cards compact and readable. */
body.lightweight-impact-story .case-section .outcome-stack {
  gap: clamp(14px, 1.5vw, 22px) !important;
}

body.lightweight-impact-story .case-section .outcome-stack > article {
  min-height: 0 !important;
  padding: clamp(22px, 2.1vw, 30px) !important;
  gap: clamp(10px, 1vw, 14px) !important;
  border-radius: 8px !important;
}

body.lightweight-impact-story .case-section .outcome-stack > article > strong {
  font-size: clamp(26px, 2.35vw, 38px) !important;
  line-height: 1.05 !important;
  font-weight: 560 !important;
  text-wrap: pretty !important;
}

body.lightweight-impact-story .case-section .outcome-stack h3 {
  max-width: 20ch !important;
  font-size: clamp(17px, 1.25vw, 22px) !important;
  line-height: 1.15 !important;
  font-weight: 720 !important;
}

body.lightweight-impact-story .case-section .outcome-stack li,
body.lightweight-impact-story .case-section .outcome-stack p {
  max-width: 34ch !important;
  font-size: clamp(14px, .98vw, 16px) !important;
  line-height: 1.42 !important;
  font-weight: 430 !important;
}

body.lightweight-impact-story .case-section .outcome-stack ul {
  margin-top: 0 !important;
  padding-left: 1em !important;
}

@media (max-width: 980px) {
  body.lightweight-impact-story .case-section .outcome-stack > article > strong {
    font-size: clamp(25px, 6.2vw, 34px) !important;
  }
}
