/* PFS Core 1.0.106 case-study body. Uses existing PFS type and colors only.
   Hero images size to the photo (height:auto, no min-height, no dark letterbox). */
.pfs-cs {
  --pfs-navy: #0b1a2e;
  --pfs-navy-2: #1b2b4b;
  --pfs-blue: #6fa3e0;
  --pfs-text: #1b1f27;
  color: var(--pfs-text);
  font-family: Inter, "Archivo Narrow", system-ui, sans-serif;
  background: transparent;
}
.pfs-cs h1, .pfs-cs h2, .pfs-cs h3,
.pfs-cs .eyebrow, .pfs-cs .btn, .pfs-cs .kicker, .pfs-cs .pill {
  font-family: "Chakra Petch", sans-serif;
}
.pfs-cs .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.pfs-cs .crumbs { padding: 16px 0 0; font-size: 13px; }
.pfs-cs .crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.pfs-cs .crumbs li:not(:last-child)::after { content: "/"; margin-left: 10px; opacity: .55; }
.pfs-cs .crumbs a { color: #1b3a6b; text-decoration: none; }
.pfs-cs .crumbs a:hover { text-decoration: underline; }

.pfs-cs .hero { padding: 28px 0 36px; background: transparent; }
.pfs-cs .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.pfs-cs .eyebrow { margin: 0 0 8px; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; font-weight: 700; color: #1b3a6b; }
.pfs-cs h1 { margin: 0 0 12px; font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; color: var(--pfs-navy); }
.pfs-cs .deck { font-size: 18px; line-height: 1.5; margin: 0 0 12px; }
.pfs-cs .pill { display: inline-block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; margin: 0 0 18px; }
.pfs-cs .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pfs-cs .btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; background: #1b3a6b; color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.pfs-cs .btn:hover { background: var(--pfs-navy); color: #fff; }
.pfs-cs .btn-ghost { background: transparent; color: #1b3a6b; border: 1px solid #1b3a6b; }
.pfs-cs .btn-ghost:hover { background: #1b3a6b; color: #fff; }

/* Hero photo: never invent a dark/blue box around or above the image. */
.pfs-cs .hero-photo,
.pfs-cs .hero-photo.wide,
.pfs-cs .hero-photo.logo-top { margin: 0; background: transparent !important; }
.pfs-cs .hero-photo img,
.pfs-cs .hero-photo.wide img,
.pfs-cs .hero-photo.logo-top img {
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none;
  object-fit: contain !important;
  background: transparent !important;
  display: block;
  border: 0;
}

.pfs-cs section { padding: 8px 0 36px; background: transparent; }
.pfs-cs h2 { font-size: 22px; margin: 0 0 14px; color: var(--pfs-navy); }
.pfs-cs p, .pfs-cs li { line-height: 1.6; }
.pfs-cs .story-inner p { margin: 0 0 1em; }
.pfs-cs .facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 24px; }
.pfs-cs .fact { padding: 0; background: transparent; border: 0; }
.pfs-cs .fact dt { font-family: "Chakra Petch", sans-serif; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #1b3a6b; margin: 0 0 4px; }
.pfs-cs .fact dd { margin: 0; }
.pfs-cs .gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.pfs-cs .gallery-grid img {
  width: 100%; height: auto; max-height: 420px; object-fit: contain; background: transparent; display: block;
}
.pfs-cs .gallery-grid figure { margin: 0; background: transparent; }
.pfs-cs .gallery-grid figcaption { font-size: 13px; margin-top: 8px; color: #4a5160; }
.pfs-cs .gallery-grid figure.wide-shot,
.pfs-cs .gallery-grid figure.span-2 { grid-column: 1 / -1; }
.pfs-cs .gallery-grid figure.wide-shot img { max-height: 560px; }

/* Related links: typographic list, not full-width card blocks. */
.pfs-cs .link-grid {
  display: flex; flex-wrap: wrap; gap: 8px 0;
  margin: 0; padding: 0;
}
.pfs-cs .link-card {
  display: block; width: 100%;
  background: transparent; border: 0; border-top: 1px solid rgba(27, 58, 107, .18);
  padding: 10px 0; text-decoration: none; color: inherit; box-shadow: none;
}
.pfs-cs .link-card .kicker {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #1b3a6b; margin: 0 0 2px;
}
.pfs-cs .link-card strong { font-family: "Chakra Petch", sans-serif; font-weight: 700; color: var(--pfs-navy); }
.pfs-cs .link-card:hover strong { color: #1b3a6b; text-decoration: underline; }

.pfs-cs .cta-band { text-align: center; padding: 36px 24px; background: var(--pfs-navy); color: #fff; }
.pfs-cs .cta-band h2 { color: #fff; }
.pfs-cs .cta-band p { color: rgba(255,255,255,.82); max-width: 36em; margin: 0 auto 20px; }
.pfs-cs .cta-band .btn { background: #fff; color: var(--pfs-navy); }
.pfs-cs .cta-band .btn:hover { background: var(--pfs-blue); color: var(--pfs-navy); }

/* Hub inline list — a sentence, not a new card section */
.pfs-seo106-hub { background: transparent; box-shadow: none; border: 0; padding: 0; margin: .85em 0 1.2em; font: inherit; color: inherit; max-width: 48em; }
.pfs-seo106-hub a { color: #1b3a6b; }

@media (max-width: 800px) {
  .pfs-cs .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .pfs-cs .hero { padding: 20px 0 24px; }
  .pfs-cs .hero-photo img,
  .pfs-cs .hero-photo.wide img,
  .pfs-cs .hero-photo.logo-top img {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    background: transparent !important;
  }
  .pfs-cs .wrap { padding: 0 16px; }
}
