.dyp-projects-page,
.dyp-project-single {
  color: #fff;
  background: #030816;
}

.dyp-projects-shell {
  width: min(100% - 48px, 1120px);
  margin-inline: auto;
}

.dyp-projects-hero,
.dyp-project-single__hero {
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 20, 147, 0.2), transparent 30%),
    radial-gradient(circle at 12% 78%, rgba(61, 114, 255, 0.13), transparent 28%),
    linear-gradient(135deg, #030816, #071228 56%, #040714);
}

.dyp-projects-hero .dyp-projects-shell,
.dyp-project-single__hero .dyp-projects-shell {
  padding: clamp(88px, 11vw, 148px) 0 clamp(76px, 9vw, 112px);
  text-align: center;
}

.dyp-projects-eyebrow,
.dyp-projects-heading > p {
  margin: 0 0 15px;
  color: #ff1493;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dyp-projects-hero h1,
.dyp-project-single__hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.dyp-projects-intro {
  max-width: 780px;
  margin: clamp(38px, 5vw, 56px) auto 0;
  padding: clamp(25px, 4vw, 38px);
  border: 1px solid rgba(255, 20, 147, 0.35);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
}

.dyp-projects-intro p,
.dyp-project-single__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.75;
}

.dyp-projects-list,
.dyp-project-single__body {
  color: #111827;
  background: #f7f8fb;
}

.dyp-projects-list .dyp-projects-shell,
.dyp-project-single__body .dyp-projects-shell {
  padding: clamp(76px, 9vw, 118px) 0;
}

.dyp-projects-heading {
  margin-bottom: 38px;
  text-align: center;
}

.dyp-projects-heading h2 {
  margin: 0;
  color: #071228;
  font-size: clamp(2.35rem, 5vw, 4rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.05em;
}

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

.dyp-projects-entry {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  overflow: hidden;
  width: min(100%, 900px);
  margin-inline: auto;
  color: #111827;
  text-decoration: none;
  border: 1px solid rgba(7, 18, 40, 0.12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(7, 18, 40, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.dyp-projects-entry:only-child {
  grid-column: 1 / -1;
}

.dyp-projects-entry:hover,
.dyp-projects-entry:focus-visible,
.dyp-projects-entry:visited {
  color: #111827;
  text-decoration: none;
}

.dyp-projects-entry:hover,
.dyp-projects-entry:focus-visible {
  border-color: rgba(255, 20, 147, 0.5);
  box-shadow: 0 24px 64px rgba(255, 20, 147, 0.13);
  transform: translateY(-4px);
}

.dyp-projects-entry__visual {
  display: grid;
  min-height: 280px;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 20, 147, 0.34), transparent 29%),
    linear-gradient(135deg, #071228, #15143d);
}

.dyp-projects-entry__image {
  width: 100%;
  height: 100%;
  padding: 24px;
  object-fit: contain;
}

.dyp-projects-entry__monogram {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 950;
  letter-spacing: -0.08em;
}

.dyp-projects-entry__content {
  display: flex;
  min-height: 280px;
  padding: 30px;
  flex-direction: column;
}

.dyp-projects-entry__content > p {
  margin: 0 0 10px;
  color: #ff1493;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.dyp-projects-entry h3 {
  margin: 0;
  color: #071228;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.dyp-projects-entry__content > span {
  margin-top: 16px;
  color: #5b6472;
  line-height: 1.65;
}

.dyp-projects-entry__content > strong {
  margin-top: auto;
  padding-top: 24px;
  color: #071228;
}

.dyp-projects-entry__content > strong span {
  color: #ff1493;
}

.dyp-project-single__lead {
  max-width: 680px;
  margin: 28px 0 0;
}

.dyp-project-single__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: clamp(42px, 7vw, 90px);
  align-items: center;
  text-align: left !important;
}

.dyp-project-single__primary-action {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: 32px;
  padding: 12px 19px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid #ff1493;
  border-radius: 999px;
}

.dyp-project-single__hero-image {
  display: grid;
  overflow: hidden;
  min-height: 350px;
  margin: 0;
  padding: clamp(24px, 4vw, 42px);
  place-items: center;
  border: 1px solid rgba(255, 20, 147, 0.35);
  border-radius: 24px;
  background:
    radial-gradient(circle at 70% 24%, rgba(255, 20, 147, 0.17), transparent 30%),
    rgba(255, 255, 255, 0.03);
}

.dyp-project-single__hero-image img {
  width: 100%;
  max-height: 310px;
  object-fit: contain;
}

.dyp-project-single__content,
.dyp-project-single__pending {
  max-width: 780px;
  margin: 0 auto;
  color: #374151;
  font-size: 1.08rem;
  line-height: 1.8;
}

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

.dyp-project-single__overview section,
.dyp-project-single__status-grid section {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(7, 18, 40, 0.12);
  border-radius: 22px;
  background: #fff;
}

.dyp-project-single__section-label {
  margin: 0 0 12px !important;
  color: #ff1493 !important;
  font-size: 0.75rem !important;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.dyp-project-single__overview h2,
.dyp-project-single__features h2,
.dyp-project-single__architecture h2,
.dyp-project-single__status-grid h2 {
  margin: 0;
  color: #071228;
  font-size: clamp(1.8rem, 3.3vw, 2.7rem);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.dyp-project-single__overview p,
.dyp-project-single__status-grid p {
  margin: 18px 0 0;
  color: #5b6472;
  line-height: 1.75;
}

.dyp-project-single__features {
  margin-top: clamp(72px, 9vw, 110px);
}

.dyp-project-single__features > header {
  max-width: 650px;
  margin-bottom: 34px;
}

.dyp-project-single__features > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dyp-project-single__features article {
  min-width: 0;
  padding: 25px;
  border: 1px solid rgba(7, 18, 40, 0.12);
  border-radius: 18px;
  background: #fff;
}

.dyp-project-single__features article > span {
  color: #ff1493;
  font-size: 0.8rem;
  font-weight: 900;
}

.dyp-project-single__features h3 {
  margin: 18px 0 0;
  color: #071228;
  font-size: 1.12rem;
  line-height: 1.4;
}

.dyp-project-single__architecture {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 7vw, 80px);
  margin-top: clamp(72px, 9vw, 110px);
  padding: clamp(34px, 6vw, 68px);
  color: #fff;
  border-radius: 26px;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 20, 147, 0.17), transparent 30%),
    #071228;
}

.dyp-project-single__architecture h2 {
  color: #fff;
}

.dyp-project-single__architecture ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dyp-project-single__architecture li {
  padding: 13px 17px;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
}

.dyp-project-single__status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(72px, 9vw, 110px);
}

.dyp-project-single__content {
  margin-top: clamp(72px, 9vw, 110px);
}

.dyp-project-single__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 42px;
}

.dyp-project-single__actions a {
  padding: 11px 18px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  border-radius: 999px;
  background: #071228;
}

@media (max-width: 700px) {
  .dyp-projects-shell {
    width: min(100% - 32px, 1120px);
  }

  .dyp-projects-hero .dyp-projects-shell,
  .dyp-project-single__hero .dyp-projects-shell {
    padding-block: 76px 72px;
  }

  .dyp-projects-hero h1,
  .dyp-project-single__hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.2rem);
  }

  .dyp-projects-grid {
    grid-template-columns: 1fr;
  }

  .dyp-project-single__hero-grid,
  .dyp-project-single__overview,
  .dyp-project-single__architecture,
  .dyp-project-single__status-grid {
    grid-template-columns: 1fr;
  }

  .dyp-project-single__hero-image {
    min-height: 260px;
  }

  .dyp-project-single__features > div {
    grid-template-columns: 1fr;
  }

  .dyp-projects-entry,
  .dyp-projects-entry:only-child {
    grid-template-columns: 1fr;
  }

  .dyp-projects-entry__visual {
    min-height: 220px;
  }

  .dyp-projects-entry__content {
    min-height: 0;
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dyp-projects-entry {
    transition: none;
  }
}
