/* Case study narratives and native HTML disclosures. No scripts required. */
.sj-case-nav { border-bottom: 1px solid #d7ded5; background: #eef1eb; }
.sj-case-nav > div { display: flex; flex-wrap: wrap; column-gap: 2rem; padding-block: .7rem; }
.sj-case-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .8rem; color: #465b4d; }
.sj-case-nav a:hover { color: #0f6e5c; text-decoration: underline; text-underline-offset: .3em; }
.sj-case-section { padding-block: clamp(3rem, 5.5vw, 5rem); }
.sj-case-kicker { color: #607066; font-size: .7rem; line-height: 1.6; }
.sj-case-section h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; font-weight: 400; letter-spacing: -.04em; }
.sj-case-kicker + h2 { margin-top: 1rem; }
.sj-case-question,
.sj-case-delivery,
.sj-case-outcome-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); }
.sj-case-prose { min-width: 0; }
.sj-case-prose > p { color: #526257; font-size: 1rem; line-height: 1.8; }
.sj-case-prose > p + p { margin-top: 1rem; }
.sj-case-role { margin-top: 1.7rem; padding-top: 1.2rem; border-top: 1px solid #d7ded5; }
.sj-case-role dt { color: #0f6e5c; font-size: .75rem; font-weight: 500; }
.sj-case-role dd { margin-top: .4rem; font-size: .85rem; line-height: 1.6; color: #526257; }
.sj-case-method { background: #eef1eb; border-block: 1px solid #d7ded5; }
.sj-case-section-head { margin-bottom: 2.2rem; }
.sj-case-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding: 0; margin: 0; list-style: none; }
.sj-case-steps > li { border-top: 1px solid #bdc9bd; padding-top: 1.3rem; }
.sj-case-step-number { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; line-height: 1; color: #668272; }
.sj-case-steps h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 400; letter-spacing: -.025em; margin-block: 1.2rem .7rem; }
.sj-case-steps p { font-size: .9rem; line-height: 1.8; color: #526257; }
.sj-case-sources { margin-top: 2.5rem; border: 1px solid #bdc9bd; border-radius: 8px; background: #fbfaf8; }
.sj-case-sources summary,
.sj-case-example summary { cursor: pointer; padding: 1.2rem 1.4rem; color: #0f6e5c; font-size: .85rem; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; }
.sj-case-sources summary::-webkit-details-marker,
.sj-case-example summary::-webkit-details-marker { display: none; }
.sj-case-sources summary::after,
.sj-case-example summary::after { content: "+"; display: grid; place-items: center; flex: 0 0 2rem; height: 2rem; border: 1px solid #bdc9bd; border-radius: 50%; font-size: 1.3rem; line-height: 1; }
.sj-case-sources[open] > summary::after,
.sj-case-example details[open] > summary::after { transform: rotate(45deg); background: #e9f2ef; }
.sj-case-sources summary:hover,
.sj-case-example summary:hover { background: #f0f4ee; }
.sj-case-page summary:focus-visible { outline: 2px solid #0f6e5c; outline-offset: 5px; }
.sj-case-sources ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 2rem; padding: .4rem 1.5rem 1.4rem 2.5rem; list-style: disc; font-size: .85rem; color: #526257; line-height: 1.7; }
.sj-case-recommendation { border-left: 2px solid #0f6e5c; padding-left: 1.6rem; }
.sj-case-recommendation > p:last-child { margin-top: 1.3rem; font-size: .95rem; color: #526257; line-height: 1.8; }
.sj-case-deliverables ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.sj-case-deliverables li { padding: 1rem 0; border-top: 1px solid #d7ded5; font-size: .95rem; line-height: 1.6; }
.sj-case-outcome { background: #14231f; color: #fbfaf8; }
.sj-case-outcome .sj-case-kicker { color: #bce4bd; }
.sj-case-outcome .sj-case-prose > p { color: #d1ddd5; }
.sj-case-outcome .sj-case-prose > p:first-child { color: #fbfaf8; font-size: 1.3rem; line-height: 1.55; letter-spacing: -.02em; }
.sj-case-outcome ul { margin-block: 1.3rem; padding-left: 1.2rem; list-style: disc; color: #d1ddd5; font-size: .9rem; line-height: 1.7; }
.sj-case-outcome li + li { margin-top: .5rem; }
.sj-case-outcome .sj-case-prose > .sj-case-basis { border-top: 1px solid #3b5145; padding-top: 1.2rem; margin-top: 1.5rem; color: #a9b6af; font-size: .78rem; line-height: 1.7; }
.sj-case-example { padding-block: 2.5rem; }
.sj-case-example > details { border: 1px solid #c6d0c3; border-radius: 8px; background: #fff; }
.sj-case-example details[open] > summary { border-bottom: 1px solid #d7ded5; }
.sj-case-example summary { font-size: 1.25rem; letter-spacing: -.02em; }
.sj-case-example summary > span { display: inline; }
.sj-case-example-hint { display: block; margin-top: .45rem; font-size: .8rem; letter-spacing: 0; line-height: 1.6; color: #607066; }
.sj-case-example-content { max-width: 46rem; margin-inline: auto; padding: 1.5rem 1.25rem 2rem; }
.sj-case-example-note { font-size: .8rem; color: #607066; line-height: 1.7; }
.sj-case-next { padding-block: clamp(2.5rem, 4vw, 4rem); background: #e8ebe3; border-block: 1px solid #cbd3c5; }
.sj-case-next__heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin-bottom: 1.35rem; }
.sj-case-next__heading h2 { font-size: .75rem; font-family: var(--font-mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #4d6152; }
.sj-case-back { display: inline-flex; gap: .65rem; align-items: center; min-height: 44px; padding: .65rem 1rem; border: 1px solid #b8c4b2; border-radius: 5px; color: #294c38; font-size: .8rem; background: transparent; }
.sj-case-back:hover { background: #f9fbf6; border-color: #6d8c72; }
.sj-case-next__card { display: grid; grid-template-columns: 10rem minmax(0, 1fr) auto; align-items: center; gap: 2rem; padding: 1.5rem; border: 1px solid #cad2c4; border-radius: 9px; background: #fff; box-shadow: 0 4px 10px -8px #263b3026; }
.sj-case-next__image { border-radius: 5px; overflow: hidden; background: #e9eee5; }
.sj-case-next__image img { display: block; width: 100%; height: auto; aspect-ratio: 1.15; object-fit: cover; }
.sj-case-next__eyebrow { display: flex; align-items: center; gap: .6rem; color: #526b59; font-size: .7rem; line-height: 1.5; }
.sj-case-next__copy { min-width: 0; }
.sj-case-next__copy h3 { margin-top: .45rem; font-size: clamp(1.3rem, 2.25vw, 1.9rem); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; text-wrap: balance; }
.sj-case-next__copy > p:not(.sj-case-next__eyebrow) { max-width: 38rem; margin-top: .7rem; font-size: .85rem; line-height: 1.7; color: #536357; }
.sj-case-next__client { display: block; margin-top: .8rem; font-size: .72rem; color: #526b59; }
.sj-case-next__action { display: flex; flex-direction: column-reverse; align-items: center; gap: .65rem; color: #0f6e5c; font-size: .7rem; white-space: nowrap; }
.sj-case-next__arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #edf3e9; color: #29533b; border: 1px solid #cbd9c5; font-size: 1.5rem; }
.sj-case-next__card:is(:hover, :focus-visible) { border-color: #77977e; }
.sj-case-next__card:is(:hover, :focus-visible) h3 { color: #0f6e5c; }
.sj-case-next__card:is(:hover, :focus-visible) .sj-case-next__arrow { background: #0f6e5c; color: #fff; }
body:has(#case-question:target) .sj-case-nav a[href="#case-question"],
body:has(#case-approach:target) .sj-case-nav a[href="#case-approach"],
body:has(#case-delivery:target) .sj-case-nav a[href="#case-delivery"],
body:has(#case-outcome:target) .sj-case-nav a[href="#case-outcome"],
body:has(#case-example:target) .sj-case-nav a[href="#case-example"] { color: #0f6e5c; box-shadow: inset 0 -2px #0f6e5c; font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
  .sj-case-next__card { transition: border-color 200ms, box-shadow 200ms; }
  .sj-case-next__arrow { transition: background-color 200ms, color 200ms; }
  .sj-case-next__image img { transition: transform 500ms; }
  .sj-case-sources summary::after,
  .sj-case-example summary::after { transition: transform 200ms, background-color 200ms; }
  @media (hover: hover) and (pointer: fine) {
    .sj-case-next__card:hover { box-shadow: 0 10px 26px -18px #263b3055; }
    .sj-case-next__card:hover img { transform: scale(1.04); }
  }
}
@media (max-width: 47.99rem) {
  .sj-case-nav > div { column-gap: 1.3rem; }
  .sj-case-question,
  .sj-case-delivery,
  .sj-case-outcome-grid,
  .sj-case-steps { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .sj-case-steps > li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 1rem; }
  .sj-case-steps h3 { margin-top: 0; }
  .sj-case-sources ul { grid-template-columns: minmax(0, 1fr); }
  .sj-case-recommendation { padding-left: 1.2rem; }
  .sj-case-next__card { grid-template-columns: 5.5rem minmax(0, 1fr); align-items: start; gap: 1rem; padding: 1.1rem; }
  .sj-case-next__image img { aspect-ratio: 1; }
  .sj-case-next__action { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; width: 100%; border-top: 1px solid #d7ded5; padding-top: .85rem; font-size: .8rem; }
  .sj-case-next__copy h3 { font-size: 1.2rem; }
  .sj-case-next__copy > p:not(.sj-case-next__eyebrow) { font-size: .8rem; }
  .sj-case-next__client { font-size: .7rem; }
  .sj-case-next__heading h2 { font-size: .7rem; }
  .sj-case-back { padding-inline: .75rem; font-size: .75rem; }
}
