/* Homepage cases: faithful implementation of the approved Image2 reference. */
.home-page #cases > .container {
  position: relative;
}

.home-page #cases .case-heading-more {
  display: none;
}

@media (min-width: 961px) {
  .home-page #cases {
    padding: clamp(42px, 3.35vw, 56px) 0;
    background: #030c1c !important;
  }

  .home-page #cases > .container {
    width: min(1600px, calc(100% - clamp(56px, 4.3vw, 72px))) !important;
  }

  .home-page #cases .section-heading {
    position: absolute;
    z-index: 3;
    top: 14px;
    right: 0;
    width: 36.2%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(13px, 1.08vw, 18px);
    margin: 0;
    text-align: left;
    pointer-events: none;
    box-sizing: border-box;
    padding-left: clamp(16px, 1.6vw, 26px);
  }

  .home-page #cases .section-heading h2 {
    grid-column: auto;
    grid-row: auto;
    justify-self: auto;
    width: 100%;
    margin: 0;
    padding: 0 22px 0 0;
    border: 0;
    border-right: 4px solid #1dbcf2;
    text-align: right;
    white-space: nowrap;
  }

  .home-page #cases .section-heading p {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    max-width: none;
    margin: 0;
    color: rgba(208, 225, 243, 0.72) !important;
    box-sizing: border-box;
    padding-right: 26px;
    text-align: right;
    white-space: nowrap;
    font-size: clamp(14px, 1.02vw, 17px) !important;
  }

  .home-page #cases .case-supporting > .case-heading-more {
    position: absolute;
    z-index: 2;
    bottom: clamp(8px, 0.8vw, 12px);
    left: 50%;
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    line-height: 0;
    text-decoration: none;
    pointer-events: auto;
    transform: translateX(-50%);
    transition: filter 0.2s ease, transform 0.2s ease;
  }

  .home-page #cases .case-supporting > .case-heading-more img {
    display: block;
    width: 100%;
    height: auto;
  }

  .home-page #cases .case-supporting > .case-heading-more:hover,
  .home-page #cases .case-supporting > .case-heading-more:focus-visible {
    filter: brightness(1.1) saturate(1.08);
    transform: translateX(-50%) translateY(-2px);
  }

  .home-page #cases .case-supporting > .case-heading-more:focus-visible {
    border-radius: 4px;
    outline: 2px solid rgba(91, 221, 255, 0.92);
    outline-offset: 3px;
  }

  .home-page #cases .case-stage {
    min-height: 0;
    height: clamp(640px, 49.8vw, 832px);
    grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr);
    gap: clamp(22px, 1.8vw, 30px);
    align-items: stretch;
  }

  .home-page #cases .case-featured,
  .home-page #cases .case-supporting > article {
    border-color: rgba(66, 143, 220, 0.44);
    border-radius: 18px;
    background: #07162c;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.26);
  }

  .home-page #cases .case-featured {
    grid-template-rows: minmax(0, 1fr) clamp(180px, 12.6vw, 208px);
  }

  .home-page #cases .case-featured picture {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    aspect-ratio: auto;
    background: #050f20;
  }

  .home-page #cases .case-featured img {
    object-fit: cover;
    object-position: center;
  }

  .home-page #cases .case-featured-copy {
    position: relative;
    min-height: 0;
    padding: clamp(19px, 1.44vw, 24px) clamp(32px, 2.52vw, 42px) clamp(20px, 1.56vw, 26px);
    border-top: 1px solid rgba(81, 158, 225, 0.13);
    background: #081b35;
  }

  .home-page #cases .case-featured-copy > span {
    display: block;
    padding-right: 230px;
    color: #36d2ff;
    font-size: clamp(12px, 0.9vw, 15px);
    font-weight: 800;
    line-height: 1.45;
  }

  .home-page #cases .case-featured-copy h3 {
    margin: clamp(7px, 0.66vw, 11px) 0 0;
    color: #ffffff !important;
    font-size: clamp(23px, 1.8vw, 30px);
    line-height: 1.25;
    letter-spacing: -0.025em;
  }

  .home-page #cases .case-featured-copy > p {
    display: none;
  }

  .home-page #cases .case-featured-copy dl {
    margin: clamp(14px, 1.16vw, 19px) 0 0;
    padding-top: clamp(14px, 1.08vw, 18px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 3.6vw, 64px);
    border-top: 1px solid rgba(70, 174, 244, 0.24);
  }

  .home-page #cases .case-featured-copy dl div {
    position: relative;
    min-width: 0;
    padding: 0 clamp(18px, 2vw, 34px) 0 clamp(46px, 3.2vw, 54px);
    border: 0;
  }

  .home-page #cases .case-featured-copy dl div:not(:last-child) {
    border-right: 1px solid rgba(77, 155, 224, 0.18);
  }

  .home-page #cases .case-featured-copy dt {
    position: static;
    min-height: 0;
    padding-left: 0;
    color: #7e96b1;
    font-size: 13px;
    line-height: 1.4;
  }

  .home-page #cases .case-featured-copy dt .ti {
    position: absolute;
    top: 50%;
    left: 0;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #22cfff;
    font-size: 31px;
    transform: translateY(-50%);
  }

  .home-page #cases .case-featured-copy dd {
    margin: 2px 0 0;
    padding: 0 0 clamp(8px, 0.72vw, 12px);
    color: #ffffff;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.4;
    white-space: nowrap;
  }

  .home-page #cases .case-featured-copy > a {
    position: absolute;
    top: clamp(26px, 2.27vw, 38px);
    right: clamp(24px, 1.92vw, 32px);
    min-height: 32px;
    padding: 2px 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 0;
    color: #5bddff;
    background: transparent;
    font-size: clamp(12px, 0.9vw, 15px);
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
    transition: color 0.2s ease, transform 0.2s ease;
  }

  .home-page #cases .case-featured-copy > a:hover,
  .home-page #cases .case-featured-copy > a:focus-visible {
    color: #ffffff;
    background: transparent;
    transform: translateX(3px);
  }

  .home-page #cases .case-featured-copy > a:focus-visible {
    border-radius: 3px;
    outline: 2px solid rgba(91, 221, 255, 0.85);
    outline-offset: 4px;
  }

  .home-page #cases .section-more {
    display: none;
  }

  .home-page #cases .case-supporting {
    position: relative;
    min-height: 0;
    padding-top: clamp(150px, 11.66vw, 195px);
    padding-bottom: clamp(58px, 4.8vw, 80px);
    box-sizing: border-box;
    display: grid;
    grid-template-rows: repeat(2, clamp(198px, 15.55vw, 260px));
    align-content: start;
    gap: clamp(14px, 1.1vw, 18px);
  }

  .home-page #cases .case-supporting > article {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 64%) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(16px, 1.32vw, 22px);
    padding: clamp(12px, 0.96vw, 16px);
  }

  .home-page #cases .case-supporting picture {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid rgba(72, 151, 220, 0.32);
    border-radius: 12px;
    background: #050f20;
  }

  .home-page #cases .case-supporting img {
    object-fit: contain;
    object-position: center;
  }

  .home-page #cases .case-supporting article > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    justify-content: center;
    padding: clamp(10px, 0.84vw, 14px) clamp(4px, 0.48vw, 8px) clamp(10px, 0.84vw, 14px) 0;
  }

  .home-page #cases .case-supporting article > div > span {
    color: #28cfff;
    font-size: clamp(12px, 0.84vw, 14px);
    font-weight: 800;
    line-height: 1.4;
  }

  .home-page #cases .case-supporting h3 {
    margin: clamp(13px, 1.32vw, 22px) 0 0;
    color: #ffffff !important;
    font-size: clamp(20px, 1.38vw, 23px);
    line-height: 1.55;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  .home-page #cases .case-supporting p {
    display: none;
  }

  .home-page #cases .case-supporting a {
    width: fit-content;
    margin-top: auto;
    color: #5bddff;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.4;
  }

  .home-page #cases .case-supporting a:hover,
  .home-page #cases .case-supporting a:focus-visible {
    color: #ffffff;
  }
}

@media (min-width: 961px) and (max-width: 1180px) {
  .home-page #cases {
    padding: 42px 0;
  }

  .home-page #cases > .container {
    width: min(100% - 48px, 1120px) !important;
  }

  .home-page #cases .section-heading {
    top: 8px;
    width: 35.6%;
    gap: 12px;
    padding-left: 10px;
  }

  .home-page #cases .section-heading p {
    font-size: 12px !important;
  }

  .home-page #cases .section-heading p {
    white-space: normal;
  }

  .home-page #cases .case-heading-more {
    font-size: 12px;
  }

  .home-page #cases .case-stage {
    height: clamp(600px, 64vw, 680px);
    grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr);
    gap: 22px;
  }

  .home-page #cases .case-featured {
    grid-template-rows: minmax(0, 1fr) 180px;
  }

  .home-page #cases .case-featured-copy {
    padding: 18px 24px 16px;
  }

  .home-page #cases .case-featured-copy > span {
    padding-right: 155px;
    font-size: 12px;
  }

  .home-page #cases .case-featured-copy h3 {
    margin-top: 7px;
    font-size: 20px;
  }

  .home-page #cases .case-featured-copy dl {
    margin-top: 14px;
    padding-top: 14px;
    gap: 12px;
  }

  .home-page #cases .case-featured-copy dl div {
    padding-right: 14px;
    padding-left: 38px;
  }

  .home-page #cases .case-featured-copy dt {
    padding-left: 0;
    font-size: 10px;
  }

  .home-page #cases .case-featured-copy dt .ti {
    width: 30px;
    height: 30px;
    font-size: 25px;
  }

  .home-page #cases .case-featured-copy dd {
    padding: 0 0 8px;
    font-size: 11px;
  }

  .home-page #cases .case-featured-copy > a {
    top: 20px;
    right: 20px;
    min-height: 30px;
    padding: 2px 0;
    font-size: 11px;
  }

  .home-page #cases .case-supporting {
    padding-top: 160px;
    padding-bottom: 58px;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .home-page #cases .case-supporting > article {
    grid-template-columns: minmax(0, 55%) minmax(0, 1fr);
    column-gap: 14px;
    padding: 12px;
  }

  .home-page #cases .case-supporting article > div {
    padding: 8px 2px 8px 0;
  }

  .home-page #cases .case-supporting article > div > span {
    font-size: 11px;
  }

  .home-page #cases .case-supporting h3 {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.45;
  }

  .home-page #cases .case-supporting a {
    font-size: 10.5px;
  }
}

@media (min-width: 761px) and (max-width: 960px) {
  .home-page #cases {
    min-height: auto;
    padding-top: 64px;
    padding-bottom: 58px;
  }

  .home-page #cases .case-stage {
    height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-page #cases .case-featured {
    grid-template-rows: auto auto;
  }

  .home-page #cases .case-featured picture {
    display: block;
    aspect-ratio: 16 / 9;
    background: #050f20;
  }

  .home-page #cases .case-featured img {
    object-fit: cover;
    object-position: center;
  }

  .home-page #cases .case-featured-copy {
    position: relative;
    padding: 24px 26px 25px;
  }

  .home-page #cases .case-featured-copy > span {
    display: block;
    padding-right: 150px;
  }

  .home-page #cases .case-featured-copy h3 {
    margin: 7px 0;
    font-size: 21px;
  }

  .home-page #cases .case-featured-copy > p {
    font-size: 12px;
  }

  .home-page #cases .case-featured-copy dl {
    margin: 14px 0 0;
    padding-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    border-top: 1px solid rgba(70, 174, 244, 0.24);
  }

  .home-page #cases .case-featured-copy dl div {
    position: relative;
    min-width: 0;
    padding: 0 18px 0 46px;
    border: 0;
  }

  .home-page #cases .case-featured-copy dl div:not(:last-child) {
    border-right: 1px solid rgba(77, 155, 224, 0.18);
  }

  .home-page #cases .case-featured-copy dt {
    position: static;
    min-height: 0;
    padding-left: 0;
    font-size: 12px;
    line-height: 1.4;
  }

  .home-page #cases .case-featured-copy dt .ti {
    position: absolute;
    top: 50%;
    left: 0;
    width: 36px;
    height: 36px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #22cfff;
    font-size: 29px;
    transform: translateY(-50%);
  }

  .home-page #cases .case-featured-copy dd {
    margin: 2px 0 0;
    padding: 0 0 10px;
    font-size: 14px;
    line-height: 1.4;
  }

  .home-page #cases .case-featured-copy > a {
    position: absolute;
    top: 23px;
    right: 26px;
    padding: 2px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .home-page #cases .case-supporting {
    padding-top: 0;
    padding-bottom: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 18px;
  }

  .home-page #cases .case-supporting > .case-heading-more {
    position: static;
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 600px);
    display: block;
    margin-top: 2px;
    line-height: 0;
    transform: none;
  }

  .home-page #cases .case-supporting > .case-heading-more:hover,
  .home-page #cases .case-supporting > .case-heading-more:focus-visible {
    filter: brightness(1.1) saturate(1.08);
    transform: translateY(-2px);
  }

  .home-page #cases .case-supporting > article {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .home-page #cases .case-supporting picture {
    aspect-ratio: 16 / 9;
    background: #050f20;
  }

  .home-page #cases .case-supporting img {
    object-fit: contain;
    object-position: center;
  }

  .home-page #cases .case-supporting article > div {
    padding: 18px 20px 20px;
  }

  .home-page #cases .case-supporting p {
    white-space: normal;
  }
}

/* Cases text hierarchy: light white for labels, pure white for actions. */
@media (min-width: 761px) {
  .home-page #cases .section-more {
    display: none;
  }

  .home-page #cases .case-featured-copy > span,
  .home-page #cases .case-supporting article > div > span {
    color: rgba(255, 255, 255, 0.74);
  }

  .home-page #cases .case-featured-copy dt {
    color: rgba(255, 255, 255, 0.58);
  }

  .home-page #cases .case-featured-copy dt .ti {
    color: rgba(255, 255, 255, 0.9);
  }

  .home-page #cases .case-featured-copy > a,
  .home-page #cases .case-supporting a {
    color: #ffffff;
  }

  .home-page #cases .case-supporting a {
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 4px;
    transition: text-decoration-color 0.2s ease, opacity 0.2s ease;
  }

  .home-page #cases .case-featured-copy > a:hover,
  .home-page #cases .case-featured-copy > a:focus-visible,
  .home-page #cases .case-supporting a:hover,
  .home-page #cases .case-supporting a:focus-visible {
    color: #ffffff;
  }

  .home-page #cases .case-supporting a:hover,
  .home-page #cases .case-supporting a:focus-visible {
    text-decoration-color: rgba(255, 255, 255, 0.82);
  }
}

/* Crop the generated CTA's embedded pale rim without changing its artwork. */
.home-page #cases .case-heading-more-image {
  aspect-ratio: 7.5 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: #3578e4;
}

.home-page #cases .case-heading-more-image > img {
  position: static;
  width: calc(100% + 6px) !important;
  max-width: none;
  height: calc(100% + 6px) !important;
  margin: -3px;
}
