/* Case studies use the same content rail and typography as the capabilities page. */
.gf-cases {
  --case-width: min(var(--theme-container-width, 90vw), var(--theme-normal-container-max-width, 1290px));
  --case-gap: clamp(24px, 4vw, 54px);
  --case-line: #dce5ed;
  --case-ink: #172d42;
  --case-muted: #42566a;
  --case-tint: #f3f7fa;
  color: var(--theme-text-color, #42566a);
  font-family: inherit;
}
.gf-cases, .gf-cases * {box-sizing:border-box}
.entry-content.is-layout-constrained > article.gf-cases {width:100%;max-width:100%;margin:0}
.ct-container-full:has(.entry-content > .gf-cases) {padding-block-start:0}
.gf-cases > :is(nav,section,footer) {width:var(--case-width);margin-inline:auto}
.gf-cases [id] {scroll-margin-top:100px}
.gf-cases h2,.gf-cases h3 {color:var(--case-ink);line-height:1.17;margin-block:0 .55em}
.gf-cases h3 {line-height:1.25}
.gf-cases p {margin-block:0 1em}
.gf-cases figure,.gf-copy > :last-child {margin:0}
.gf-cases img {width:100%;height:auto;display:block}
.gf-cases a:focus-visible {outline:2px solid currentColor;outline-offset:4px}
.gf-cases .gf-hero {
  position:relative;isolation:isolate;overflow:hidden;display:grid;align-content:center;
  min-height:calc(clamp(470px,41vw,620px) + var(--header-height,0px));
  padding:calc(clamp(52px,6vw,92px) + var(--header-height,0px)) max(5%,calc((100% - 1290px)/2)) clamp(52px,6vw,92px);
  background:#101f30;color:white
}
.gf-hero > img,.gf-hero::after {position:absolute;inset:0;width:100%;height:100%;z-index:-2}
.gf-cases .gf-hero > img {height:100%;object-fit:cover;object-position:62% 50%}
.gf-hero::after {content:"";z-index:-1;background:linear-gradient(90deg,rgba(9,20,34,.98),rgba(12,27,45,.87) 43%,rgba(15,32,49,.36) 76%,rgba(15,32,49,.22))}
.gf-cases .gf-hero h1 {color:white;font-size:clamp(2.65rem,5.3vw,4.75rem);line-height:1.04;max-width:15ch;margin:0}
.gf-cases .gf-hero p:not(.gf-label) {color:#eef4fa;font-size:clamp(1rem,1.45vw,1.18rem);line-height:1.55;max-width:51ch;margin:18px 0 26px}
.gf-label,.gf-kicker {font-size:.875rem;font-weight:650}
.gf-cases .gf-label {color:#dfebf3;margin:0 0 12px}
.gf-cases .gf-button {display:inline-flex;align-items:center;justify-content:center;width:fit-content;min-height:46px;background:var(--theme-button-background-initial-color,#0b5cad);color:var(--theme-button-text-initial-color,#fff);border-radius:var(--theme-button-border-radius,4px);padding:10px 22px;text-decoration:none;font-weight:650}
.gf-cases .gf-button:hover {background:var(--theme-button-background-hover-color,#11456a);color:#fff}
.gf-cases > .gz-breadcrumbs {margin-top:var(--theme-content-vertical-spacing,60px);margin-bottom:18px}
.gf-nav {display:flex;align-items:center;flex-wrap:wrap;gap:2px 14px;border-block:1px solid var(--case-line);padding:8px 0}
.gf-nav a {display:inline-block;padding:10px 5px;font-size:.91rem;line-height:1.25;font-weight:650;text-decoration:none}
.gf-nav a:hover,.gf-card a:hover {text-decoration:underline}
.gf-band {margin-block:clamp(42px,6vw,82px)}
.gf-nav + .gf-band {margin-top:var(--case-gap)}
.gf-cards,.gf-story,.gf-panel {display:grid;gap:var(--case-gap);align-items:center}
.gf-cards {grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
.gf-card {min-width:0;padding:clamp(16px,2vw,26px);border:1px solid var(--case-line);border-radius:12px;background:white;display:flex;flex-direction:column}
.gf-card img {margin-bottom:18px;border-radius:8px}
.gf-card > a:last-child {margin-top:auto;font-weight:650}
.gf-card h3 a {color:inherit;text-decoration:none}
.gf-story {grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
.gf-story.reverse,.gf-optics .gf-story {grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
.gf-story.reverse figure,.gf-optics .gf-story figure {order:-1}
.gf-story img {border-radius:12px}
.gf-cases figcaption {font-size:.86rem;color:var(--case-muted);line-height:1.45;margin-top:8px}
.gf-energy .gf-story figure {background:var(--case-tint);border-radius:12px;padding:14px}
.gf-panel {display:block}
.gf-panel h2 {max-width:28ch}
.gf-panel .gf-copy {max-width:88ch}
.gf-cases .gf-note,.gf-cases footer {padding:clamp(18px,3vw,38px);border-radius:12px;background:var(--case-tint)}
.gf-indexes {columns:2;column-gap:36px}
.gf-indexes a {display:block;margin:6px 0;break-inside:avoid}
.gf-cases footer {background:#142c43;color:#f4f8fc}
.gf-cases footer h2,.gf-cases footer a {color:white}
.gf-cases footer p {max-inline-size:72ch}
.gf-proof {border-top:1px solid #627485;padding-top:14px;font-size:.875rem}
@media(max-width:950px) and (min-width:690px) {.gf-cards {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:689px) {
  .gf-cases .gf-hero {min-height:0;padding:calc(48px + var(--header-height,0px)) 6vw 48px}
  .gf-hero::after {background:rgba(9,20,34,.83)}
  .gf-cards,.gf-story,.gf-story.reverse,.gf-optics .gf-story {grid-template-columns:minmax(0,1fr)}
  .gf-story figure,.gf-story.reverse figure,.gf-optics .gf-story figure {order:0}
  .gf-cases .gf-note,.gf-cases footer {padding:18px}
  .gf-indexes {columns:1}
  .gf-nav {gap:0 10px}
}

.gf-cases .gf-panel-illustrated {
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  gap:var(--case-gap);
  align-items:center;
}
.gf-panel-media {display:grid;gap:18px;min-width:0}
.gf-panel-media img {border-radius:12px}
.gf-panel-media figure + figure {margin-top:0}
.gf-index #section-1 .gf-panel-media img {aspect-ratio:2.1;object-fit:contain;background:#f2f4f5}
@media (max-width:689px) {
  .gf-cases .gf-panel-illustrated {grid-template-columns:minmax(0,1fr)}
}
