@charset "utf-8";

/* Project navigation/back button */
.project-nav { position: relative; }
.back-link {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; line-height: 1.2; font-weight: 500;
  padding: 8px 12px; border-radius: 10px; color: inherit; text-decoration: none; opacity: .9;
  transition: background .2s, opacity .2s;
}
.back-link:hover, .back-link:focus-visible {
  background: rgba(133,173,218,.1);
  opacity: 1;
  outline: none;
}
.back-chevron { display: block; }

/* Hero section — minimal padding */
.project-hero.section { padding-top: 16px; }
.project-hero-figure { margin: 0; }
.project-hero-image {
  width: 100%; height: auto; display: block;
  border-radius: 16px; background: var(--line);
  object-fit: cover; aspect-ratio: 16/9;
}
.compact-hero { max-height: 520px; }
@media (min-width:1068px){ .compact-hero { max-height: 560px; } }
.figure-cap { margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--ink-secondary); }

/* Headings & intro text */
.project-h2 { font-size: 28px; line-height: 1.25; font-weight: 600; margin: 0 0 6px 0; }
.project-subhead { font-size: 17px; line-height: 1.47; color: var(--ink-secondary); margin: 0 0 14px 0; }
.body-copy { font-size: 17px; line-height: 1.6; color: var(--ink-secondary); margin: 0 0 12px 0; }

/* Two-column section splits */
.content-split { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width:900px){ .content-split { grid-template-columns:1.2fr 1fr; gap:64px; } }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 24px; column-gap: 24px;
}
@media (min-width:734px){ .feature-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width:1068px){ .feature-grid { grid-template-columns: repeat(4,1fr); } }

.feature-card { display: flex; flex-direction: column; gap: 16px; }
.feature-media {
  position: relative; width: 100%; aspect-ratio: 4/3;
  overflow: hidden; border-radius: 16px; background: var(--line);
}
.feature-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: center; display: block;
}
.feature-body { display: grid; gap: 6px; }
.feature-title { font-size: 17px; line-height: 1.3; font-weight: 600; color: var(--ink); }
.feature-text { font-size: 15px; line-height: 1.5; color: var(--ink-secondary); }

/* Mapping list in System */
.mapping-list {
  display: grid; gap: 8px; margin: 8px 0 16px 0; padding: 0; list-style: none;
}
.map-key { font-weight: 600; color: var(--ink); }
.map-value { color: var(--ink-secondary); }

/* Material spec section */
.material-spec {
  display: grid; gap: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); padding: 16px 0;
}
.material-spec-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-secondary); }
.material-spec-value { font-size: 21px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.material-spec-meta { font-size: 14px; line-height: 1.4; color: var(--ink-secondary); }
.material-spec-note { font-size: 17px; line-height: 1.6; color: var(--ink-secondary); margin: 8px 0 0 0; }

/* CTA row */
.cta-row {
  display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap;
}
