/* CaseModel website: css/p-for-funders.css
   The page for funders: the claim stress tested on the model, the two stages a funder looks at it, the portfolio,
   and what CaseModel does not do. */

/* ---- the head: the page's promise is a sentence, so it is set a little smaller than a capability's name ---- */
.aud h1 { font-size: clamp(38px, 4.3vw, 62px); line-height: 1.02; letter-spacing: -.035em; }

/* ---- the stress test: switches and what falls on the left, the model on the right ---- */
.sx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; }
.sx-ctl { display: flex; flex-direction: column; padding: clamp(20px, 2.6vw, 34px); border-right: 1px solid var(--line-2); }
.sx-sws { list-style: none; margin: 0; padding: 0; }
.sx-sws li { border-bottom: 1px solid var(--line-2); }
.sx-sws li:first-child { border-top: 1px solid var(--line-2); }
.sx-sws .sw { width: 100%; min-height: 56px; padding: 8px 0; font-size: 16.5px; line-height: 1.3; }
.sx-sws .sw:hover span { color: var(--azure-dd); }
.sx-out { margin-top: 22px; }
.sx-none { margin: 0; font-size: 16.5px; line-height: 1.5; color: var(--text-2); }
.sx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sx-list li { padding: 2px 0 2px 14px; border-left: 3px solid var(--text-3); }
.sx-list b { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font: 700 17px/1.3 var(--display); color: var(--navy); letter-spacing: -.01em; }
.sx-list b s { font-weight: 700; color: var(--text-3); text-decoration-thickness: 2px; }
.sx-list p { margin: 4px 0 0; font-size: 15.5px; line-height: 1.45; color: var(--text-2); }
.sx-list .sx-ok { border-left-color: var(--navy); }
.sx-list .sx-thin { border-left-color: var(--orange); }
.sx-list .sx-thin .tag { align-self: center; }

.sx-fig { position: relative; height: 640px; background: linear-gradient(#fff, var(--sky-2) 55%, var(--sky-4)); }
.sx-fig canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* with several propositions taken away the list runs longer than the picture: the picture keeps its height at the top of its
   column, and its ground runs on down beside the list */
@media (min-width: 901px) {
  .sx { align-items: stretch; }
  .sx-fig { height: auto; min-height: 640px; container-type: size; background: linear-gradient(#fff, var(--sky-2) 55%, var(--sky-4)) 0 0 / 100% 640px no-repeat, var(--sky-4); }
  .sx-fig canvas { bottom: auto; height: 640px; }
}
/* once the ground runs on below the picture, the picture's lower edge melts into it */
@container (min-height: 641px) { .sx-fig canvas { -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); } }
.sx-tot { position: absolute; left: 28px; top: 24px; z-index: 2; margin: 0; }
.sx-tot b { display: inline-block; font: 800 clamp(36px, 3.6vw, 54px)/1 var(--display); color: var(--navy); letter-spacing: -.035em; padding: 0 6px 2px; margin-left: -6px; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 34% no-repeat; }
.sx-tot span { display: block; margin-top: 8px; font: 700 15.5px/1.2 var(--display); color: var(--text-2); }
.sx-tot small { display: block; margin-top: 4px; font: 600 14.5px/1.2 var(--display); color: var(--text-3); }
.sx-back { min-height: 44px; }
.sx-back:disabled { opacity: .45; cursor: default; }
@media (max-width: 900px) {
  .sx { grid-template-columns: 1fr; min-height: 0; }
  .sx-fig { order: -1; height: auto; aspect-ratio: 5 / 4; border-bottom: 1px solid var(--line-2); }
  .sx-ctl { border-right: 0; }
  .sx-tot { left: 18px; top: 16px; }
}

/* ---- in diligence, and while it runs ---- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 56px; }
.two > div { padding-top: 22px; border-top: 2px solid var(--navy); }
.two h3 { font-size: 22px; margin-bottom: 16px; }
.two .ticks li { font-size: 17.5px; color: var(--text-2); margin-bottom: 12px; }
.say { margin: clamp(40px, 5vw, 64px) 0 0; max-width: 22em; font: 700 clamp(24px, 2.4vw, 34px)/1.25 var(--display); color: var(--navy); letter-spacing: -.02em; text-wrap: balance; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }

/* ---- the portfolio, and what CaseModel does not do ---- */
.port { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.port h2 { font-size: clamp(28px, 3vw, 42px); }
.port > div:first-child > p:not(.kick) { margin-top: 20px; font-size: 18.5px; color: var(--text-2); max-width: 34em; }
.port .go { margin-top: 18px; display: block; width: fit-content; max-width: 100%; text-wrap: balance; }
/* when the link wraps, its arrow follows its last word */
.port .go::after { display: inline-block; margin-left: 8px; vertical-align: middle; }
.not { padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); }
.not h3 { font-size: 20px; margin-bottom: 12px; }
.not ul { list-style: none; margin: 0; padding: 0; }
.not li { padding: 12px 0; border-top: 1px solid var(--line-2); font-size: 16.5px; line-height: 1.5; color: var(--text-2); }
.not li b { color: var(--navy); font-weight: 700; }
@media (max-width: 860px) { .port { grid-template-columns: minmax(0, 1fr); } }
