/* Project case-study detail — HAWL visual system */

.pdj-page {
  margin: 0;
  background: #eef3f8;
  font-family: "Montserrat", sans-serif;
  color: #0d2748;
}

.pdj-hero {
  position: relative;
  min-height: 520px;
  color: #fff;
  overflow: hidden;
  background: #061528;
}
.pdj-hero-bg {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  transform: scale(1.06);
}
.pdj-hero-night {
  background-image: url("../img/projects-hero-night.png?v=2");
  background-position: center 35%;
}
.pdj-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(4, 12, 24, 0.94) 0%, rgba(4, 12, 24, 0.78) 38%, rgba(4, 12, 24, 0.28) 100%),
    linear-gradient(180deg, transparent 42%, rgba(4, 12, 24, 0.72) 100%);
}
.pdj-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}
.pdj-hero-copy { max-width: 760px; }
.pdj-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 28px;
  font-size: 12px;
  color: #9bb0c7;
}
.pdj-crumb a {
  color: #c8d6e8;
  text-decoration: none;
}
.pdj-crumb a:hover { color: #2eb5ef; }
.pdj-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7dceff;
  margin-bottom: 14px;
}
.pdj-kicker::after {
  content: "";
  width: 36px;
  height: 2px;
  background: #10A5F5;
}
.pdj-hero h1 {
  margin: 0 0 12px;
  max-width: 780px;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -1px;
}
.pdj-hero .pdj-sub {
  margin: 0 0 22px;
  max-width: 560px;
  color: #d5e0ec;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 500;
}
.pdj-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}
.pdj-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 700;
  color: #eaf3fb;
}
.pdj-chip-live {
  background: rgba(16, 165, 245, 0.18);
  border-color: rgba(16, 165, 245, 0.45);
  color: #b9e7ff;
}
.pdj-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pdj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  font-family: inherit;
}
.pdj-btn-blue {
  background: #0177A9;
  color: #fff;
}
.pdj-btn-blue:hover { background: #016690; }
.pdj-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}
.pdj-btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.pdj-btn-light {
  color: #0177A9;
  border-color: #cfe3ef;
  margin-top: 8px;
}
.pdj-logo-badge {
  width: 176px;
  height: 124px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.pdj-logo-badge img {
  max-width: 100%;
  max-height: 96px;
  object-fit: contain;
}

.pdj-wrap {
  width: min(1120px, calc(100% - 48px));
  margin: -48px auto 0;
  position: relative;
  z-index: 4;
  padding-bottom: 64px;
}
.pdj-split {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr;
  gap: 22px;
  align-items: start;
}
.pdj-story,
.pdj-facts,
.pdj-sec {
  background: #fff;
  border: 1px solid #e5eef6;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(16, 40, 72, 0.07);
}
.pdj-story { padding: 32px 34px 36px; }
.pdj-facts { padding: 24px; }
.pdj-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0177A9;
}
.pdj-label-late { margin-top: 22px; }
.pdj-label-on-dark { color: #7dceff; }
.pdj-story h2,
.pdj-sec h2,
.pdj-cta-band h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 800;
  color: #0a2342;
}
.pdj-story p {
  margin: 0 0 16px;
  color: #5b6f86;
  font-size: 15px;
  line-height: 1.75;
}
.pdj-story p:last-child { margin-bottom: 0; }
.pdj-facts h3 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 800;
  color: #0a2342;
}
.pdj-fact-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 16px;
}
.pdj-facts .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eef3f8;
}
.pdj-facts .row:last-child { border-bottom: 0; }
.pdj-facts .row span {
  color: #7a8da3;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 2px;
}
.pdj-facts .row b {
  text-align: right;
  font-size: 13px;
  font-weight: 700;
  color: #0a2342;
  max-width: 64%;
}
.pdj-facts .pdj-btn {
  width: 100%;
  box-sizing: border-box;
}

.pdj-sec {
  margin-top: 22px;
  padding: 28px 30px;
}
.pdj-steps {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.pdj-steps li {
  padding: 18px 16px 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f7fbfe 0%, #f2f7fb 100%);
  border: 1px solid #e8eef5;
}
.pdj-steps em {
  display: block;
  margin-bottom: 8px;
  color: #0177A9;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.pdj-steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #0a2342;
}
.pdj-steps span {
  display: block;
  color: #667a91;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}
.pdj-shot {
  margin: 8px 0 0;
  border-radius: 16px;
  overflow: hidden;
  background: #0b1c34;
  aspect-ratio: 16 / 8;
}
.pdj-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pdj-rel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.pdj-rel-grid > *:nth-child(n+4) { display: none; }
.pdj-rel-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #f7fbfe;
  border: 1px solid #e5eef6;
  border-radius: 16px;
  overflow: hidden;
  min-height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pdj-rel-card:hover {
  transform: translateY(-3px);
  border-color: #b9d9eb;
  box-shadow: 0 12px 28px rgba(16, 40, 72, 0.1);
}
.pdj-rel-media {
  height: 148px;
  background: #0b1c34;
  overflow: hidden;
}
.pdj-rel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pdj-rel-media.is-logo {
  background: #fff;
  display: grid;
  place-items: center;
  padding: 16px;
}
.pdj-rel-media.is-logo img {
  object-fit: contain;
  max-height: 110px;
  width: auto;
}
.pdj-rel-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px 14px 16px;
}
.pdj-rel-copy b {
  font-size: 14px;
  font-weight: 800;
  color: #0a2342;
  font-style: normal;
}
.pdj-rel-copy i {
  font-size: 12px;
  font-style: normal;
  color: #667a91;
  font-weight: 500;
}

.pdj-cta-band {
  margin-top: 22px;
  padding: 32px 34px;
  border-radius: 20px;
  background:
    linear-gradient(105deg, #071426 0%, #0b2a4a 58%, #0177A9 140%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.pdj-cta-band h2 { color: #fff; margin-bottom: 8px; }
.pdj-cta-band p {
  margin: 0;
  color: #c8d6e8;
  font-size: 14px;
  max-width: 560px;
}

.cd-page { background: #eef3f8; }
.cd-wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 64px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 18px;
}
.cd-main h1 {
  margin: 8px 0 10px;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.6px;
  color: #0a2342;
}
.cd-main .lead { color: #5d6d82; margin: 0 0 16px; line-height: 1.55; }
.cd-main .cover {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.cd-body { margin-top: 18px; line-height: 1.7; white-space: pre-wrap; color: #3d5168; }
.cd-aside {
  background: #fff;
  border: 1px solid #e6eef6;
  border-radius: 18px;
  padding: 22px;
  align-self: start;
  box-shadow: 0 12px 32px rgba(16, 40, 72, 0.06);
}
.cd-aside h3 { margin: 0 0 8px; }
.cd-aside p { color: #5d6d82; font-size: 14px; margin: 0 0 16px; }

@media (max-width: 900px) {
  .pdj-hero { min-height: 400px; }
  .pdj-hero-inner, .pdj-wrap, .cd-wrap { width: calc(100% - 32px); }
  .pdj-split, .cd-wrap { grid-template-columns: 1fr; }
  .pdj-hero-inner { grid-template-columns: 1fr; }
  .pdj-logo-badge { display: none; }
  .pdj-steps, .pdj-rel-grid { grid-template-columns: 1fr 1fr; }
  .pdj-shot { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .pdj-steps, .pdj-rel-grid { grid-template-columns: 1fr; }
  .pdj-hero-inner { padding-top: 22px; padding-bottom: 64px; }
}
