/* Project / case-study pages — standalone, shares the site palette. */
* { box-sizing: border-box; }

body.pp {
  margin: 0;
  background-color: #0888F0;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.pp a { color: #fff; }

/* Header bar */
.pp-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 5%;
  background-color: #262B30;
}
.pp-bar a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 15px;
}
.pp-bar a:hover { opacity: 0.7; }

/* Main column */
.pp-main {
  max-width: 880px;
  margin: 0 auto;
  padding: 60px 5% 40px;
}

.pp-kicker {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.7;
  margin: 0 0 10px;
}

.pp h1 {
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -1px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.pp-subtitle {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.4;
  margin: 0 0 40px;
}

.pp-hero {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  margin-bottom: 40px;
}

/* Fact bar */
.pp-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px 30px;
  margin: 0 0 20px;
  padding: 28px;
  background-color: rgba(0, 0, 0, 0.18);
  border-radius: 4px;
}
.pp-facts dt {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.65;
  margin-bottom: 4px;
}
.pp-facts dd { margin: 0; font-size: 16px; line-height: 1.5; }

.pp-tags {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  opacity: 0.75;
  margin: 0 0 30px;
}

/* Sections */
.pp section { margin: 50px 0; }
.pp h2 {
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: -1px;
  font-weight: 700;
  border-left: 5px solid rgba(255, 255, 255, 0.35);
  padding-left: 18px;
  margin: 0 0 24px;
}
.pp h3 { font-size: 21px; font-weight: 700; margin: 0 0 8px; }

/* Workstreams */
.pp-work { margin: 0 0 34px; }
.pp-work h3 span { opacity: 0.5; font-weight: 800; margin-right: 6px; }
.pp-problem { font-weight: 600; margin: 0 0 6px; }
.pp-problem::before { content: "The problem — "; opacity: 0.65; font-weight: 700; }
.pp-work p { margin: 0 0 8px; }

/* Figures & gallery */
.pp figure { margin: 20px 0 0; }
.pp figure img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}
.pp figcaption { font-size: 14px; opacity: 0.75; margin-top: 8px; }
.pp-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.pp-gallery figure { margin: 0; }
.pp figure.pp-narrow { max-width: 340px; margin-left: auto; margin-right: auto; }
.pp .pp-fig.pp-narrow { margin-left: 0; }
@media (max-width: 640px) {
  .pp-gallery { grid-template-columns: 1fr; }
}

/* Two columns: validation / iteration */
.pp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pp-cols ul { margin: 0; padding-left: 20px; }
.pp-cols li { margin-bottom: 10px; font-size: 17px; }

/* Outcomes */
.pp-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin: 0 0 26px;
}
.pp-metrics > div {
  background-color: rgba(0, 0, 0, 0.18);
  border-radius: 4px;
  padding: 22px;
  text-align: center;
}
.pp-metrics strong { display: block; font-size: 38px; font-weight: 800; letter-spacing: -1px; }
.pp-metrics span { display: block; font-size: 14px; margin-top: 6px; opacity: 0.8; line-height: 1.4; }
.pp-summary { font-size: 21px; font-weight: 300; line-height: 1.55; }

/* Link buttons — matches the site's .button */
.pp-links { margin: 50px 0 0; }
.pp a.pp-button {
  padding: 15px 32px;
  display: inline-block;
  font-size: 15px;
  transition: all 0.3s ease-in-out;
  color: #0b86c8;
  text-decoration: none;
  margin: 0 14px 14px 0;
  font-weight: 700;
  text-transform: uppercase;
  background-color: #fff;
  letter-spacing: 1px;
  border-radius: 3px;
}
.pp a.pp-button:hover { background-color: #262B30; color: #fff; }
.pp a.pp-button-ghost {
  background: none;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.pp a.pp-button-ghost:hover { background-color: #fff; color: #0b86c8; border-color: #fff; }

/* Footer */
.pp-footer {
  background-color: #262B30;
  text-align: center;
  padding: 36px 5% 46px;
  font-size: 15px;
}
.pp-footer p { margin: 4px 0; }
.pp-copyright { opacity: 0.5; margin-top: 14px; }

@media (max-width: 640px) {
  .pp h1 { font-size: 34px; }
  .pp-subtitle { font-size: 20px; }
  .pp-cols { grid-template-columns: 1fr; gap: 20px; }
  .pp-main { padding-top: 40px; }
}
