/* DAV case study — scoped extensions (shared lav-* cards from ongrid-lav-styles.css) */

body[data-page="dav-project"] .ongrid-hero-subtitle {
  line-height: 1.55;
  margin: 1px auto 36px;
  max-width: 800px;
}

body[data-page="dav-project"] .ongrid-body-meta {
  flex-wrap: wrap;
  gap: 32px 48px;
}

body[data-page="dav-project"] .dav-meta-item + .dav-meta-item {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 24px;
}

body[data-page="dav-project"] .dav-meta-item:first-child {
  border-left: none;
  padding-left: 0;
}

body[data-page="dav-project"] .dav-slabel {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
  font-weight: 500;
  margin-bottom: 18px;
}

body[data-page="dav-project"] .dav-side-nav {
  gap: 4px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
}

body[data-page="dav-project"] .ongrid-body-section + .ongrid-body-section {
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 48px;
}

body[data-page="dav-project"] .subsection-heading {
  margin-top: 40px;
}

body[data-page="dav-project"] .dav-context-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 12px;
}

body[data-page="dav-project"] .ongrid-solution-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

body[data-page="dav-project"] .ongrid-solution-cards .ongrid-solution-card {
  margin-top: 0;
}

body[data-page="dav-project"] .ongrid-solution-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

body[data-page="dav-project"] .ongrid-solution-card-media:not(:first-child) {
  margin-left: auto;
}

body[data-page="dav-project"] .ongrid-solution-card-media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

body[data-page="dav-project"] .lav-goal-card-icon {
  width: 44px;
  height: 44px;
  display: block;
  margin-bottom: 0;
  object-fit: contain;
}

.lav-role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

.lav-user-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.lav-user-card {
  background: linear-gradient(180deg, #05090a 0%, rgba(8, 14, 16, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px 22px;
}

.lav-user-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.lav-user-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lav-user-card li {
  font-size: 14px;
  color: #b0b0b0;
  line-height: 1.55;
  padding: 8px 0 8px 16px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lav-user-card li:last-child {
  border-bottom: none;
}

.lav-user-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #666;
  font-size: 12px;
}

.lav-phase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.lav-phase-card {
  background: linear-gradient(180deg, #05090a 0%, rgba(8, 14, 16, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px 22px;
}

.lav-phase-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 10px;
}

.lav-phase-card p {
  font-size: 14px;
  color: #b0b0b0;
  line-height: 1.6;
  margin: 0;
}

.lav-need-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.lav-need-list li {
  font-size: 15px;
  color: #b0b0b0;
  line-height: 1.65;
  padding: 14px 0 14px 22px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lav-need-list li:last-child {
  border-bottom: none;
}

.lav-need-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #4bc1c8;
  font-size: 14px;
}

.lav-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.lav-flow-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 28px;
}

.lav-flow-tab {
  background: linear-gradient(180deg, #05090a 0%, rgba(8, 14, 16, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 10px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  font: inherit;
  color: inherit;
}

.lav-flow-tab:hover {
  border-color: rgba(75, 193, 200, 0.35);
}

.lav-flow-tab.is-active {
  border-color: #4bc1c8;
  background: rgba(75, 193, 200, 0.08);
}

.lav-flow-tab-name {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4bc1c8;
  display: block;
  margin-bottom: 4px;
  line-height: 1.35;
}

.lav-flow-tab-num {
  font-size: 11px;
  color: #888;
}

.lav-flow-panel {
  margin-top: 16px;
  padding: 24px;
  background: linear-gradient(180deg, #05090a 0%, rgba(8, 14, 16, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  min-height: 100px;
}

.lav-flow-panel h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.lav-flow-panel p {
  font-size: 14px;
  color: #b0b0b0;
  line-height: 1.6;
  margin: 0;
}

.lav-design-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .lav-role-grid,
  .lav-user-grid,
  .lav-phase-grid,
  .lav-design-grid {
    grid-template-columns: 1fr;
  }

  .lav-flow-grid,
  .lav-flow-tabs {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .lav-challenge-grid,
  .lav-flow-grid,
  .lav-flow-tabs {
    grid-template-columns: 1fr;
  }
}
