.case_background {
  padding: 13rem 0px 14rem;
  background-color: #fff;
  scroll-margin-top: 7rem;
}
.case_background .story {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 8rem;
  align-items: center;
  margin-top: 7.2rem;
}
.case_background .story h3 {
  font-weight: 500;
  font-size: 3.4rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.case_background .story p {
  margin-top: 2.4rem;
  color: var(--text);
  font-size: 1.9rem;
  line-height: 1.65;
}
.case_background .needs {
  margin-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.case_background .needs li {
  position: relative;
  padding: 1.6rem 0px 1.6rem 3.6rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  font-size: 1.9rem;
  line-height: 1.45;
}
/* orange tick */
.case_background .needs li::before {
  content: '';
  position: absolute;
  left: 0px;
  top: 1.8rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='m6.5 11.2 3 3 6-6.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 100%;
}
.case_background .story .img {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
}
.case_background .glance {
  display: grid;
  grid-template-columns: 30rem 1fr;
  gap: 4rem;
  margin-top: 8rem;
  padding: 5.6rem 6rem;
  border-radius: var(--radius);
  background-color: var(--light);
}
.case_background .glance h3 {
  font-family: var(--font_title);
  font-weight: 700;
  font-size: 4rem;
  line-height: 1.05;
}
.case_background .glance dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 5.6rem;
}
.case_background .glance dl > div {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 2.4rem;
  padding: 2rem 0px;
  border-top: 1px solid rgba(21, 24, 28, 0.1);
}
.case_background .glance dl > div:nth-child(-n + 2) {
  padding-top: 0.6rem;
  border-top: none;
}
.case_background .glance dt {
  font-weight: 600;
  font-size: 1.8rem;
}
.case_background .glance dd {
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1.55;
}

@media screen and (max-width: 1024px) {
  .case_background .story,
  .case_background .glance,
  .case_background .glance dl {
    grid-template-columns: 1fr;
  }
  .case_background .glance dl > div:nth-child(2) {
    padding-top: 2rem;
    border-top: 1px solid rgba(21, 24, 28, 0.1);
  }
}

@media screen and (max-width: 768px) {
  .case_background {
    padding: 64px 0px;
    scroll-margin-top: 48px;
  }
  .case_background .story {
    gap: 28px;
    margin-top: 32px;
  }
  .case_background .story h3 {
    font-size: 22px;
  }
  .case_background .story p {
    margin-top: 14px;
    font-size: 15.5px;
  }
  .case_background .needs li {
    padding: 12px 0px 12px 30px;
    font-size: 15px;
  }
  .case_background .needs li::before {
    top: 13px;
    width: 19px;
    height: 19px;
  }
  .case_background .story .img {
    border-radius: 16px;
  }
  .case_background .glance {
    gap: 18px;
    margin-top: 36px;
    padding: 28px 20px;
    border-radius: 16px;
  }
  .case_background .glance h3 {
    font-size: 26px;
  }
  .case_background .glance dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0px;
  }
  .case_background .glance dl > div:nth-child(2) {
    padding-top: 14px;
  }
  .case_background .glance dt,
  .case_background .glance dd {
    font-size: 15px;
  }
}

.case_solution {
  padding: 13rem 0px 14rem;
  background-color: var(--light);
  scroll-margin-top: 7rem;
}
.case_solution .flow {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 8rem;
  align-items: start;
  margin-top: 7.2rem;
}
.case_solution .flow .img {
  position: sticky;
  top: 12rem;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
}
.case_solution .steps li {
  display: grid;
  grid-template-columns: 6.4rem 1fr;
  gap: 2.8rem;
  padding: 3.2rem 0px;
  border-top: 1px solid rgba(21, 24, 28, 0.1);
}
.case_solution .steps li:first-child {
  padding-top: 0.4rem;
  border-top: none;
}
.case_solution .steps li:last-child {
  padding-bottom: 0px;
}
/* number badge: solid orange, graphite figures (same as the home "why" list) */
.case_solution .steps i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6.4rem;
  height: 6.4rem;
  border-radius: 50%;
  color: #fff;
  font-family: var(--font_title);
  font-weight: 700;
  font-size: 2.2rem;
  background: var(--grad_orange);
}
.case_solution .steps h3 {
  padding-top: 0.6rem;
  font-weight: 500;
  font-size: 2.8rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.case_solution .steps p {
  margin-top: 1rem;
  color: var(--text);
  font-size: 1.85rem;
  line-height: 1.6;
}

@media screen and (max-width: 1024px) {
  .case_solution .flow {
    grid-template-columns: 1fr;
    gap: 5rem;
  }
  .case_solution .flow .img {
    position: relative;
    top: auto;
  }
}

@media screen and (max-width: 768px) {
  .case_solution {
    padding: 64px 0px;
    scroll-margin-top: 48px;
  }
  .case_solution .flow {
    gap: 28px;
    margin-top: 32px;
  }
  .case_solution .flow .img {
    border-radius: 16px;
  }
  .case_solution .steps li {
    grid-template-columns: 40px 1fr;
    gap: 16px;
    padding: 20px 0px;
  }
  .case_solution .steps i {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
  .case_solution .steps h3 {
    padding-top: 7px;
    font-size: 19px;
  }
  .case_solution .steps p {
    margin-top: 6px;
    font-size: 15px;
  }
}

.case_specs {
  padding: 13rem 0px 14rem;
  background-color: #fff;
  scroll-margin-top: 7rem;
}
.case_specs .content {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 10rem;
  align-items: start;
}
.case_specs .left {
  position: sticky;
  top: 12rem;
}
.case_specs .tcon p {
  font-size: 1.9rem;
}
.case_specs .specs {
  border-top: 1px solid var(--title);
}
.case_specs .specs > div {
  display: grid;
  grid-template-columns: 22rem 1fr;
  gap: 3.2rem;
  padding: 2.2rem 0px;
  border-bottom: 1px solid var(--line);
}
.case_specs .specs dt {
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 1.55;
}
.case_specs .specs dd {
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1.55;
}

@media screen and (max-width: 1024px) {
  .case_specs .content {
    grid-template-columns: 1fr;
    gap: 5rem;
  }
  .case_specs .left {
    position: relative;
    top: auto;
  }
}

@media screen and (max-width: 768px) {
  .case_specs {
    padding: 64px 0px;
    scroll-margin-top: 48px;
  }
  .case_specs .content {
    gap: 28px;
  }
  .case_specs .tcon p {
    font-size: 15.5px;
  }
  .case_specs .specs > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0px;
  }
  .case_specs .specs dt,
  .case_specs .specs dd {
    font-size: 15px;
  }
}

.case_results {
  padding: 13rem 0px 14rem;
  background-color: var(--light);
  scroll-margin-top: 7rem;
}
.case_results .facts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 7.2rem;
  padding: 4.8rem 0px;
  border-top: 1px solid rgba(21, 24, 28, 0.12);
  border-bottom: 1px solid rgba(21, 24, 28, 0.12);
}
.case_results .facts li {
  padding: 0.4rem 3.2rem 0px;
  border-left: 1px solid rgba(21, 24, 28, 0.12);
}
.case_results .facts li:first-child {
  padding-left: 0px;
  border-left: none;
}
.case_results .facts strong {
  display: block;
  font-weight: 500;
  font-size: 6rem;
  line-height: 1;
  white-space: nowrap;
}
.case_results .facts strong small {
  font-weight: 600;
}
.case_results .facts span {
  display: block;
  max-width: 24rem;
  margin-top: 1.4rem;
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1.5;
}

@media screen and (min-width: 769px) and (max-width: 1366px) {
  .case_results .facts strong {
    font-size: 5.2rem;
  }
  .case_results .facts li {
    padding: 0.4rem 2.4rem 0px;
  }
}

@media screen and (max-width: 1024px) {
  .case_results .facts {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 4rem;
  }
  .case_results .facts li:nth-child(4) {
    padding-left: 0px;
    border-left: none;
  }
}

@media screen and (max-width: 768px) {
  .case_results {
    padding: 64px 0px;
    scroll-margin-top: 48px;
  }
  .case_results .facts {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 32px;
    padding: 28px 0px;
    row-gap: 24px;
  }
  .case_results .facts li,
  .case_results .facts li:nth-child(4) {
    padding: 0px 0px 0px 16px;
    border-left: 1px solid rgba(21, 24, 28, 0.12);
  }
  .case_results .facts li:nth-child(odd) {
    padding-left: 0px;
    border-left: none;
  }
  .case_results .facts strong {
    font-size: 34px;
  }
  .case_results .facts span {
    margin-top: 8px;
    font-size: 14px;
  }
}

.home_cases {
  overflow: hidden;
  padding: 13rem 0px 14rem;
  background-color: #fff;
}
.home_cases .slider {
  margin-top: 6.4rem;
}
/* the track starts on the content edge and bleeds out to the right (offsets set in index.js) */
.home_cases .swiper {
  overflow: visible;
}
.home_cases .swiper-slide {
  width: 46rem;
}
.home_cases .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--light);
}
.home_cases .card .img {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 1.6rem;
}
.home_cases .card:hover .img img {
  transform: scale(1.04);
}
.home_cases .chip {
  position: absolute;
  left: 2rem;
  top: 2rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--pill);
  color: #fff;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.6rem;
  background: var(--grad_orange);
}
.home_cases .info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 2.8rem 2.2rem 2.2rem;
}
.home_cases .info h3 {
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.home_cases .info p {
  flex: 1;
  margin-top: 1.2rem;
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1.55;
}
.home_cases .kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.4rem;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(21, 24, 28, 0.1);
}
/* plain figures, thin separators (no boxes) */
.home_cases .kpi li + li {
  padding-left: 1.6rem;
  border-left: 1px solid rgba(21, 24, 28, 0.1);
}
.home_cases .kpi b {
  display: block;
  color: var(--link);
  font-weight: 600;
  font-size: 2.3rem;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.home_cases .kpi span {
  display: block;
  margin-top: 0.8rem;
  color: var(--text2);
  font-size: 1.5rem;
  line-height: 1.3;
}
.home_cases .progress {
  position: relative;
  height: 4px;
  margin-top: 5.6rem;
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--light);
}
.home_cases .progress span {
  position: absolute;
  left: 0px;
  top: 0px;
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: var(--grad_orange);
  transition: width 0.5s var(--ease);
}

@media screen and (max-width: 768px) {
  .home_cases {
    padding: 64px 0px;
  }
  .home_cases .sec_head .side {
    display: none;
  }
  .home_cases .slider {
    margin-top: 28px;
  }
  .home_cases .swiper-slide {
    width: 84vw;
  }
  .home_cases .card {
    padding: 8px;
    border-radius: 18px;
  }
  .home_cases .card .img {
    border-radius: 12px;
  }
  .home_cases .chip {
    left: 14px;
    top: 14px;
    font-size: 13px;
  }
  .home_cases .info {
    padding: 18px 10px 10px;
  }
  .home_cases .info h3 {
    font-size: 19px;
  }
  .home_cases .info p {
    font-size: 15px;
  }
  .home_cases .kpi {
    margin-top: 18px;
    padding-top: 16px;
  }
  .home_cases .kpi {
    padding-top: 14px;
  }
  .home_cases .kpi li + li {
    padding-left: 10px;
  }
  .home_cases .kpi b {
    font-size: 16px;
  }
  .home_cases .kpi span {
    font-size: 12.5px;
  }
  .home_cases .progress {
    margin-top: 28px;
  }
}
