/* The earlier market narrative, with generous spacing. */
.market-card { grid-template-columns: minmax(370px, .95fr) minmax(0, 1.05fr); min-height: 540px; }
.market-card-copy { padding: clamp(44px, 5vw, 74px); }
.market-card-label { margin-bottom: 32px; font-size: .8125rem; }
.market-card h3 { display: block; max-width: 470px; margin: 0 0 26px; color: #e8a365; font-size: clamp(32px, 3.1vw, 46px); line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; }
.market-card-copy > .market-card-summary { max-width: 420px; color: #b7c5cb !important; font-size: 1.0625rem !important; line-height: 1.65; }
.market-card-rule { margin-block: 31px 27px; }
.market-card-note { max-width: 420px; color: #b7c5cb; font-size: 1rem; line-height: 1.65; }
.market-card-note strong { margin-bottom: 12px; color: #fff; font-size: 1.125rem; font-weight: 400; letter-spacing: -.02em; }
.market-card .button { margin-top: 26px; padding: 12px 24px; }
/* Clip only the Antarctic coastline; retain the map and pulse coordinates. */
/* The coverage map is now a self-contained SVG at its own aspect ratio; the
   crop that trimmed the old PNG's empty southern band is no longer needed. */
/* Compact photographic cards and inset pill actions follow the supplied reference. */
.case-studies-grid { align-items: stretch; gap: clamp(20px,2.4vw,36px); }
.study-card { --study-image-height: clamp(280px,24vw,340px); --study-focal-x: 50%; --study-focal-y: 40%; position: relative; overflow: hidden; border: 0; border-radius: 28px; background: #071f2d; box-shadow: 0 30px 46px -27px rgba(7,31,45,.43),0 8px 22px -16px rgba(7,31,45,.24); }
.study-link { position: relative; display: flex; width: 100%; height: 100%; min-height: 0; flex-direction: column; align-items: stretch; gap: 0; padding: calc(var(--study-image-height) - 12px) clamp(22px,2vw,30px) 24px; }
.study-cover { position: absolute; z-index: 0; inset: 0 0 auto; width: 100%; height: var(--study-image-height); overflow: hidden; aspect-ratio: auto; background: #071f2d; pointer-events: none; }
.study-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(7,31,45,.03) 0%,rgba(7,31,45,.04) 72%,rgba(7,31,45,.42) 88%,#071f2d 100%); }
.study-cover > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--study-focal-x) var(--study-focal-y); transition: transform .75s var(--ease); }
.study-immunology { --study-focal-x: 50%; }
.study-oncology { --study-focal-x: 50%; --study-focal-y: 42%; }
.study-dermatology { --study-focal-x: 42%; --study-focal-y: 30%; }
.study-body { position: relative; z-index: 1; display: flex; width: 100%; min-width: 0; flex: 1; flex-direction: column; align-items: start; padding: 0; }
.study-meta { display: inline-flex; max-width: 100%; margin: 0 0 15px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.26); border-radius: 999px; background: rgba(7,31,45,.56); color: #f4f1ed; font-size: .75rem; line-height: 1.4; }
.study-card h3 { min-height: 4.72em; margin: 0 0 14px; color: #fff; font-size: clamp(20px,1.9vw,26px); line-height: 1.18; letter-spacing: -.035em; text-wrap: pretty; }
.study-description { margin: 0; color: #dae1e4; font-size: .9375rem; line-height: 1.6; }
.study-action { position: relative; width: 100%; margin-top: auto; padding-top: 24px; }
.study-action::before { content: ""; position: absolute; top: 12px; left: 0; right: 0; height: 1px; background: rgba(218,225,228,.18); }
.study-read { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: center; gap: 12px; padding: 13px 16px; border: 0; border-radius: 999px; background: #f6f5f2; color: #071f2d; font-size: .875rem; font-weight: 500; }
.study-read > svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: #071f2d; stroke-width: 1.5; transition: transform .3s; }
.study-link:hover .study-read, .study-link:focus-visible .study-read { background: #e8a365; border-color: transparent; color: #071f2d; }
.study-link:focus-visible { outline: 3px solid #e8a365; outline-offset: -5px; border-radius: 28px; }
@media (hover:hover) and (pointer:fine) { .study-link:hover .study-cover > img { transform: scale(1.025); } .study-link:hover .study-read > svg { transform: translateX(3px); } }
@media (max-width: 1100px) { .market-card { grid-template-columns: minmax(330px, .9fr) minmax(0, 1.1fr); } .market-card-copy { padding: 48px 40px; } }
@media (max-width: 980px) { .case-studies-grid { max-width: 460px; } .study-link { min-height: 0; padding: calc(var(--study-image-height) - 12px) 26px 24px; } .study-card h3 { min-height: 0; font-size: 25px; } .study-description { font-size: 1rem; } }
/* The map used to be dropped on phones because the old washed-out PNG read as
   noise at that size. The legible navy-on-off-white version earns its place. */
@media (max-width: 820px) { .market-card { grid-template-columns: minmax(0,1fr); min-height: 0; } .market-card-copy { padding: 44px; } .market-card h3 { font-size: clamp(32px, 6vw, 46px); } }
@media (max-width: 560px) { .market-card-copy { padding: 38px 26px; } .market-card h3 { margin-bottom: 23px; font-size: clamp(31px, 7.6vw, 40px); } .market-card-copy > .market-card-summary { font-size: 1rem !important; } .market-card .button { margin-top: 26px; } .study-link { min-height: 0; gap: 0; padding: calc(var(--study-image-height) - 12px) 24px 22px; } .study-card h3 { font-size: 24px; } .study-description { font-size: .9375rem; } }
@media (max-width: 370px) { .study-link { padding: calc(var(--study-image-height) - 12px) 20px 20px; } .market-card-copy { padding: 34px 24px; } }
@media (prefers-reduced-motion: reduce) { .study-cover > img, .study-read > svg { transition: none; } }
