/* =============================================================
   Sustainovate — subpage styles
   Shared across rd-leadership, project-development, strategic-advisory
   ============================================================= */

/* ---- Hero -------------------------------------------------- */
.subpage-hero {
  background: var(--navy);
  padding: clamp(80px, 10vh, 120px) var(--gutter) clamp(60px, 8vh, 96px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.subpage-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.subpage-back {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s;
}
.subpage-back:hover { color: var(--brand-accent); }

.subpage-service-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 20px;
}
.subpage-headline {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 28px;
  max-width: 18em;
  text-wrap: pretty;
}
.subpage-headline em {
  font-style: italic;
  color: var(--brand-accent);
}
.subpage-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  max-width: 56ch;
  line-height: 1.7;
  text-wrap: pretty;
}

/* ---- Sections ---------------------------------------------- */
.subpage-section {
  padding: clamp(56px, 8vh, 96px) var(--gutter);
}
.subpage-section--tint {
  background: #f0f5f3;
}
.subpage-inner {
  max-width: var(--max);
  margin: 0 auto;
}

/* ---- Content blocks --------------------------------------- */
.subpage-block {
  max-width: 72ch;
  margin-bottom: 48px;
}
.subpage-block:last-child { margin-bottom: 0; }

.subpage-block-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 16px;
}
.subpage-block-text {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 14px;
  text-wrap: pretty;
}
.subpage-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.subpage-list li {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-muted);
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
}
.subpage-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--brand-accent);
  font-weight: 400;
}

/* ---- Projects grid ---------------------------------------- */
.subpage-projects {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 32px;
}
.subpage-project {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.subpage-project:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.subpage-project img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.subpage-project-imgs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.subpage-project-imgs img {
  width: 100%;
}
.img-blurred {
  filter: blur(3px);
  opacity: 0.85;
  transition: filter 0.3s, opacity 0.3s;
}
.img-blurred:hover {
  filter: blur(1.5px);
  opacity: 1;
}
.subpage-project-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brand-primary);
  display: block;
  margin-bottom: 10px;
}
.subpage-project h3 {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 12px;
}
.subpage-project p {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-muted);
  line-height: 1.75;
  text-wrap: pretty;
}

/* ---- Contact CTA ------------------------------------------ */
.subpage-contact {
  background: var(--navy);
  padding: clamp(56px, 8vh, 96px) var(--gutter);
  text-align: center;
}
.subpage-contact .subpage-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.subpage-contact h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.2;
  color: #fff;
}
.subpage-contact h2 em {
  font-style: italic;
  color: var(--brand-accent);
}

/* ---- Workflow diagram ------------------------------------- */
.subpage-section--workflow {
  background: #0d1b3e;
  padding: clamp(48px, 6vh, 72px) var(--gutter);
}
.subpage-section--workflow .subpage-block-label {
  color: var(--brand-accent);
}
.subpage-section--workflow .subpage-block-text {
  color: rgba(255,255,255,0.6);
}
.workflow-diagram {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(13,27,62,0.15);
  background: #0d1b3e;
}
.workflow-diagram img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- Responsive ------------------------------------------- */
@media (max-width: 768px) {
  .subpage-project {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
