.wcase {
  background: var(--bg);
}

.wcase-hero {
  background: var(--navy);
  padding: calc(52px + 68px) 0 64px;
  position: relative;
  overflow: hidden;
}

.wcase-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.wcase-hero::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -60px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.wcase-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}

.wcase-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  row-gap: 4px;
  margin-bottom: 22px;
}

.wcase-hero__breadcrumb a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  transition: color .18s;
}

.wcase-hero__breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.wcase-hero__breadcrumb svg {
  color: rgba(255, 255, 255, 0.24);
}

.wcase-hero__breadcrumb span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.wcase-hero__label {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(59, 130, 246, 0.45);
  background: rgba(29, 78, 216, 0.28);
  color: #93c5fd;
  border-radius: 8px;
  padding: 6px 12px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .25px;
  text-transform: uppercase;
}

.wcase-hero__title {
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -1.3px;
  font-weight: 900;
  margin-bottom: 14px;
  max-width: 980px;
}

.wcase-hero__sub {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

.wcase-article {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 48px 16px;
}

.wcase-cover {
  margin-bottom: 32px;
}

.wcase-cover__media {
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: 0 10px 40px rgba(10, 22, 40, .09);
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0a1628 0%, #1a365d 58%, #1d4ed8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wcase-cover__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wcase-cover__placeholder {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

.wcase-cover__site-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 11px;
  border: 1.5px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: all .2s;
}

.wcase-cover__site-link:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}

.wcase-section {
  margin-bottom: 34px;
}

.wcase-section__title {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -.7px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}

.wcase-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.wcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #334155;
  line-height: 1.7;
  font-size: 15px;
}

.wcase-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 9px;
}

.wcase-cms__row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wcase-cms__card {
  border: 1.5px solid var(--border);
  border-radius: 16px;
  background: var(--soft);
  padding: 18px 20px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.wcase-cms__logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wcase-cms__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 2px;
}

.wcase-cms__logo span {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -.5px;
}

.wcase-cms__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  margin-bottom: 2px;
}

.wcase-cms__name {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -.5px;
}

.wcase-cms__desc {
  margin: 0;
  max-width: none;
  flex: 1;
  color: #334155;
  font-size: 15px;
  line-height: 1.75;
}

.wcase-client-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.wcase-client-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
}

.wcase-client-logo {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wcase-client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 8px;
}

.wcase-client-logo span {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -.6px;
}

.wcase-client-head__meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.wcase-client-head__label {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted);
  font-weight: 700;
}

.wcase-client-head__link {
  text-decoration: none;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 700;
  transition: opacity .2s;
}

.wcase-client-head__link:hover {
  opacity: .78;
}

.wcase-client-grid__item {
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  background: #fff;
}

.wcase-client-grid__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 700;
}

.wcase-client-grid__text {
  font-size: 15px;
  line-height: 1.75;
  color: #334155;
}

.wcase-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wcase-blocks__item {
  background: var(--soft);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 18px 18px;
}

.wcase-blocks__item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--navy);
  font-weight: 800;
}

.wcase-blocks__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
}

.wcase-colors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.wcase-color {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.wcase-color__swatch {
  width: 100%;
  height: 54px;
  border-radius: 10px;
  display: block;
  border: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 10px;
}

.wcase-color__name {
  margin: 0 0 3px;
  font-size: 13px;
  color: var(--navy);
  font-weight: 700;
}

.wcase-color__hex {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  color: var(--muted);
}

.wcase-content p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
}

.wcase-content h2,
.wcase-content h3,
.wcase-content h4 {
  color: var(--navy);
  margin: 20px 0 10px;
  line-height: 1.3;
}

.wcase-content ul,
.wcase-content ol {
  margin: 0 0 14px 24px;
}

.wcase-content li {
  margin-bottom: 8px;
  color: #334155;
}

.wcase-cta {
  margin-top: 18px;
  padding: 66px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.wcase-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.wcase-cta__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: center;
}

.wcase-cta__content {
  min-width: 0;
}

.wcase-cta__title {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -1px;
  font-weight: 900;
  max-width: 780px;
}

.wcase-cta__sub {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.7;
  max-width: 700px;
}

.wcase-cta__list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  max-width: 760px;
}

.wcase-cta__list li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.65;
}

.wcase-cta__list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #60a5fa;
  margin-top: 8px;
  flex-shrink: 0;
}

.wcase-cta__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.wcase-cta__btn {
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 800;
  transition: all .2s;
}

.wcase-cta__btn--primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 6px 22px rgba(29, 78, 216, .38);
}

.wcase-cta__btn--primary:hover {
  background: #1e40af;
  transform: translateY(-1px);
}

.wcase-cta__btn--ghost {
  color: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.wcase-cta__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
}

.wcase-cta__visual {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  justify-self: end;
}

.wcase-cta__visual img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 340px;
}

@media (max-width: 900px) {
  .wcase-hero {
    padding: calc(44px + 68px) 0 52px;
  }

  .wcase-hero__inner,
  .wcase-article,
  .wcase-cta__inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .wcase-client-grid,
  .wcase-blocks,
  .wcase-colors {
    grid-template-columns: 1fr;
  }

  .wcase-cms__row {
    align-items: flex-start;
    flex-direction: column;
  }

  .wcase-cms__desc {
    margin-top: 10px;
  }

  .wcase-cta {
    padding: 50px 0;
  }

  .wcase-cta__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .wcase-cta__visual {
    max-width: 320px;
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .wcase-hero {
    padding: calc(34px + 68px) 0 40px;
  }

  .wcase-hero__inner,
  .wcase-article,
  .wcase-cta__inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .wcase-hero__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    row-gap: 4px;
    margin-bottom: 16px;
  }

  .wcase-hero__title {
    font-size: clamp(22px, 7vw, 30px);
    letter-spacing: -.8px;
  }

  .wcase-hero__sub {
    font-size: 15px;
  }

  .wcase-article {
    padding-top: 24px;
  }

  .wcase-cover__site-link {
    width: 100%;
  }

  .wcase-section__title {
    font-size: 20px;
  }

  .wcase-cms__card {
    width: 100%;
  }

  .wcase-content p {
    font-size: 15px;
  }

  .wcase-client-head {
    margin-bottom: 12px;
  }

  .wcase-client-logo {
    width: 62px;
    height: 62px;
    border-radius: 14px;
  }

  .wcase-cta {
    padding: 40px 0;
  }

  .wcase-cta__sub {
    font-size: 14px;
  }

  .wcase-cta__visual {
    max-width: 260px;
    justify-self: center;
  }

  .wcase-cta__actions {
    flex-direction: column;
  }

  .wcase-cta__btn {
    width: 100%;
  }
}
