.case-page {
  background: #fff;
  color: var(--ink-900);
  overflow: hidden
}

.case-page * {
  box-sizing: border-box
}

.case-wrap {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto
}

.case-hero {
  background: linear-gradient(130deg, #eff6ff, #fff 52%, #fff0eb)
}

.case-hero-grid {
  display: grid;
  grid-template-columns: 1fr .92fr;
  align-items: center;
  gap: 60px;
  min-height: 650px;
  padding: 65px 0
}

.case-kicker,
.case-intro-grid>p,
.case-next>div>p {
  margin: 0 0 13px;
  color: var(--brand-600);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em
}

.case-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -.045em
}

.case-hero h1 em {
  color: var(--brand-coral);
  font-style: normal
}

.case-hero p:not(.case-kicker) {
  max-width: 570px;
  color: var(--ink-500);
  font-size: 18px;
  line-height: 1.8
}

.case-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px
}

.case-hero-actions a,
.case-hero-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 11px;
  font: 750 14px var(--font-sans);
  cursor: pointer
}

.case-hero-actions a {
  background: var(--brand-coral);
  color: #fff;
  text-decoration: none
}

.case-hero-actions button {
  border: 1px solid #b9cadd;
  background: #fff;
  color: var(--brand-600)
}

.case-collage {
  position: relative;
  min-height: 500px
}

.collage-card {
  position: absolute;
  overflow: hidden;
  border: 9px solid #fff;
  border-radius: 23px;
  background: linear-gradient(135deg, #dbeafb, #ffe3d9);
  box-shadow: 0 24px 50px rgba(23, 50, 77, .18)
}

.collage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.collage-card span {
  position: absolute;
  left: 16px;
  bottom: 13px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  font-size: 9px;
  font-weight: 850
}

.collage-a {
  z-index: 2;
  left: 0;
  top: 35px;
  width: 63%;
  height: 350px;
  transform: rotate(-5deg)
}

.collage-b {
  right: 0;
  bottom: 20px;
  width: 56%;
  height: 330px;
  transform: rotate(6deg)
}

.collage-card.is-placeholder img {
  display: none
}

.collage-sticker {
  position: absolute;
  z-index: 3;
  right: 2%;
  top: 2%;
  display: grid;
  place-items: center;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: var(--brand-gold);
  color: #5c4300;
  font-size: 14px;
  font-style: normal;
  font-weight: 850;
  text-align: center;
  transform: rotate(10deg)
}

.case-intro {
  padding: 90px 0 42px
}

.case-intro-grid {
  display: grid;
  grid-template-columns: 180px 1fr 260px;
  gap: 35px;
  align-items: end
}

.case-intro h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 820;
  line-height: 1.25;
  letter-spacing: -.035em
}

.case-intro-grid>span {
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.75
}

.case-gallery {
  padding: 25px 0 100px
}

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

.case-card {
  overflow: hidden;
  border: 1px solid #dce5ef;
  border-radius: 24px;
  background: #fff;
  transition: transform .25s, box-shadow .25s
}

.case-card:hover,
.case-card.is-surprise {
  transform: translateY(-7px);
  box-shadow: 0 24px 46px rgba(23, 50, 77, .14)
}

.case-card.is-surprise {
  outline: 4px solid rgba(243, 179, 43, .55)
}

.case-image {
  position: relative;
  height: 390px;
  overflow: hidden;
  background: #edf4fb
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s
}

.case-card:hover .case-image img {
  transform: scale(1.035)
}

.case-no {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-600);
  font-size: 11px;
  font-weight: 850;
  box-shadow: 0 8px 16px rgba(23, 50, 77, .12)
}

.case-peek {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-600);
  font-size: 18px;
  cursor: pointer
}

.case-info {
  padding: 27px
}

.case-info h2 {
  margin: 0 0 11px;
  font-size: 24px
}

.case-info>p {
  min-height: 50px;
  margin: 0;
  color: var(--ink-500);
  line-height: 1.7
}

.case-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 23px
}

.case-actions>span {
  margin-right: auto;
  color: var(--brand-600);
  font-size: 12px;
  font-weight: 800
}

.case-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #d7e1eb;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-600);
  text-decoration: none;
  cursor: pointer
}

.case-btn:hover {
  border-color: var(--brand-500);
  background: var(--brand-500);
  color: #fff
}

.case-next {
  padding: 90px 0;
  background: var(--ink-900);
  color: #fff
}

.case-next h2 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2
}

.case-next>div>div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px
}

.case-next a {
  padding: 14px 19px;
  border-radius: 10px;
  background: #fff;
  color: var(--brand-600);
  font-weight: 800;
  text-decoration: none
}

.case-next a+a {
  background: var(--brand-teal);
  color: #fff
}

@media(max-width:900px) {
  .case-hero-grid {
    grid-template-columns: 1fr
  }

  .case-collage {
    min-height: 440px;
    max-width: 600px
  }

  .case-intro-grid {
    grid-template-columns: 1fr
  }

  .case-grid {
    grid-template-columns: 1fr
  }
}

@media(max-width:600px) {
  .case-wrap {
    width: min(100% - 32px, var(--container))
  }

  .case-hero-grid {
    padding: 44px 0
  }

  .case-hero h1 {
    font-size: 42px
  }

  .case-collage {
    min-height: 350px
  }

  .collage-a {
    height: 255px
  }

  .collage-b {
    height: 235px
  }

  .collage-sticker {
    width: 80px;
    height: 80px;
    font-size: 11px
  }

  .case-intro {
    padding-top: 62px
  }

  .case-image {
    height: 290px
  }

  .case-next {
    padding: 65px 0
  }
}
