/* Supported case studies — scoped to the official portfolio section. */
.supported-case-studies{
  color:#0a1831!important;
  background:
    radial-gradient(circle at 8% 10%,rgba(183,149,29,.08),transparent 28rem),
    radial-gradient(circle at 92% 90%,rgba(8,103,242,.07),transparent 30rem),
    #f7f9fd!important;
}

.supported-case-heading{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(280px,.7fr);
  align-items:end;
  gap:clamp(28px,6vw,88px);
  margin-bottom:clamp(34px,5vw,60px);
}

.supported-case-heading h2{
  margin:12px 0 0;
  color:#0a1831!important;
  font-size:clamp(2.8rem,6vw,5.9rem);
  line-height:.93;
  letter-spacing:-.065em;
}

.supported-case-heading>p{
  margin:0 0 7px;
  color:#5d6b82!important;
  font-size:clamp(.92rem,1.25vw,1.08rem);
  line-height:1.75;
}

.supported-case-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}

.supported-case-card{
  --case-accent:#0867f2;
  position:relative;
  display:grid;
  grid-template-rows:minmax(300px,.82fr) minmax(0,1.18fr);
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(19,45,83,.12);
  border-radius:28px;
  background:#fff;
  box-shadow:0 24px 70px rgba(21,58,105,.1);
}

.supported-case-card::before{
  content:"";
  position:absolute;
  z-index:3;
  inset:0 0 auto;
  height:5px;
  background:var(--case-accent);
}

.supported-case-rgt{--case-accent:#b7951d}
.supported-case-ther{--case-accent:#151515}

.supported-case-logo{
  position:relative;
  min-height:300px;
  margin:0;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-bottom:1px solid rgba(19,45,83,.1);
  background:linear-gradient(145deg,#fff,#f6f8fc);
}

.supported-case-rgt .supported-case-logo{
  background:radial-gradient(circle,rgba(183,149,29,.08),transparent 58%),#fff;
}

.supported-case-ther .supported-case-logo{
  background:radial-gradient(circle,rgba(17,17,17,.045),transparent 58%),#fff;
}

.supported-case-logo img{
  display:block;
  width:min(64%,280px);
  height:min(64%,280px);
  object-fit:contain;
  object-position:center;
}

.supported-case-logo figcaption{
  position:absolute;
  left:22px;
  bottom:18px;
  padding:8px 11px;
  border:1px solid color-mix(in srgb,var(--case-accent) 28%,transparent);
  border-radius:999px;
  color:var(--case-accent)!important;
  background:rgba(255,255,255,.9);
  font-size:.55rem;
  font-weight:850;
  letter-spacing:.08em;
  backdrop-filter:blur(10px);
}

.supported-case-copy{
  padding:clamp(26px,3.5vw,42px);
}

.supported-case-kicker{
  margin:0;
  color:var(--case-accent)!important;
  font-size:.6rem!important;
  font-weight:850!important;
  letter-spacing:.09em!important;
}

.supported-case-copy h3{
  margin:14px 0 16px;
  color:#0a1831!important;
  font-size:clamp(1.8rem,3vw,2.8rem);
  line-height:1;
  letter-spacing:-.045em;
}

.supported-case-copy>p:not(.supported-case-kicker):not(.supported-case-disclosure){
  margin:0;
  color:#5c6b82!important;
  font-size:.92rem;
  line-height:1.7;
}

.supported-case-copy ul{
  margin:24px 0 20px;
  padding:0;
  display:grid;
  gap:9px;
  list-style:none;
}

.supported-case-copy li{
  position:relative;
  min-height:44px;
  padding:12px 14px 12px 38px;
  border:1px solid rgba(19,45,83,.09);
  border-radius:12px;
  color:#243650!important;
  background:#f8fafd;
  font-size:.76rem;
  font-weight:700;
  line-height:1.45;
}

.supported-case-copy li::before{
  content:"✓";
  position:absolute;
  left:14px;
  top:12px;
  color:var(--case-accent);
  font-weight:900;
}

.supported-case-disclosure{
  margin:0!important;
  padding-top:17px;
  border-top:1px solid rgba(19,45,83,.1);
  color:#718098!important;
  font-size:.68rem!important;
  line-height:1.6!important;
}

.supported-case-copy>a{
  display:inline-flex;
  margin-top:20px;
  color:var(--case-accent)!important;
  font-size:.62rem;
  font-weight:850;
  letter-spacing:.06em;
  text-decoration:none;
}

.supported-case-copy>a:hover{text-decoration:underline}

@media(max-width:980px){
  .supported-case-heading{grid-template-columns:1fr}
  .supported-case-grid{grid-template-columns:1fr}
  .supported-case-card{grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr);grid-template-rows:auto}
  .supported-case-logo{min-height:100%}
}

@media(max-width:760px){
  .supported-case-studies{padding-inline:0!important}
  .supported-case-heading{padding-inline:16px}
  .supported-case-grid{gap:16px}
  .supported-case-card{grid-template-columns:1fr;grid-template-rows:auto;border-radius:22px}
  .supported-case-logo{min-height:270px}
  .supported-case-logo img{width:min(62%,230px);height:min(62%,230px)}
  .supported-case-logo figcaption{left:16px;bottom:15px;font-size:.5rem}
  .supported-case-copy{padding:26px 20px 28px}
  .supported-case-copy h3{font-size:clamp(1.75rem,9vw,2.45rem)}
}
