.dwcn-section {
  width: 90%;
  margin: 0 auto;
  padding: 0;
  color: #f5f1e8;
}

.dwcn-section *,
.dwcn-section *::before,
.dwcn-section *::after {
  box-sizing: border-box;
}

.dwcn-shell {
  width: 100%;
}

.dwcn-heading {
  max-width: 100%;
  margin-bottom: 28px;
}

.dwcn-eyebrow {
  margin: 0 0 16px;
  color: #8f6f46;
  font-family: "Epilogue", Helvetica, Arial, Lucida, sans-serif;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.22em;
  line-height: 1.2;
  text-transform: uppercase;
}

.dwcn-heading h2 {
  margin: 0;
  color: #111111;
  font-family: "Epilogue", Helvetica, Arial, Lucida, sans-serif;
  font-size: 75px;
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: -0.06em;
  text-transform: none;
}

.dwcn-copy {
  margin: 22px 0 0;
  max-width: 72rem;
  color: #4b4540;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
}

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

.dwcn-grid--count-1 {
  grid-template-columns: minmax(0, 1fr);
  max-width: 860px;
}

.dwcn-card {
  position: relative;
  isolation: isolate;
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(52, 56, 62, 0.98), rgba(27, 31, 37, 0.99) 20%, rgba(12, 15, 21, 1) 44%, rgba(5, 8, 13, 1) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 26px 54px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  overflow: hidden;
}

.dwcn-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(55, 59, 65, 0.99) 0, rgba(39, 43, 49, 0.98) 78px, transparent 78px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 28%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.04), transparent 34%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.dwcn-card::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -28%;
  z-index: 0;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(211, 175, 127, 0.14), transparent 70%);
  filter: blur(18px);
  opacity: 0.6;
  mix-blend-mode: screen;
  pointer-events: none;
}

.dwcn-card__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  min-height: 100%;
  padding: 118px 28px 28px;
}

.dwcn-card h3 {
  margin: 0;
  color: #ffffff;
  font-family: "Epilogue", Helvetica, Arial, sans-serif;
  font-size: clamp(2.35rem, 3.7vw, 3.85rem);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.06em;
}

.dwcn-card p {
  margin: 0;
  max-width: 42rem;
  color: #ffffff;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
}

.dwcn-button {
  margin-top: auto;
  font-family: "Epilogue", Helvetica, Arial, Lucida, sans-serif;
  font-weight: 300 !important;
}

@media (max-width: 1200px) {
  .dwcn-heading h2 {
    font-size: clamp(3.3rem, 7vw, 4.8rem);
  }
}

@media (max-width: 980px) {
  .dwcn-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .dwcn-section {
    width: calc(100% - 36px);
  }

  .dwcn-heading h2 {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .dwcn-copy,
  .dwcn-card p {
    font-size: 17px;
    line-height: 1.65;
  }

  .dwcn-card {
    min-height: 0;
  }

  .dwcn-card__inner {
    padding: 104px 18px 20px;
  }
}
