/* ========== ELOCKR PROJECT – layout and components (does not affect ongrid-project) ========== */

.elockr-hero {
  padding: 40px 12vw 56px;
  max-width: 1440px;
  margin: 0 auto;
}

.elockr-hero-container {
  background: #EFF9FA;
  border-radius: 14px;
  padding: 56px 48px 56px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.elockr-hero-title {
  font-family: 'Denton Test', 'Denton', 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  margin: 0 auto 14px;
  max-width: 802px;
  white-space: normal;
}

.elockr-hero-subtitle {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: #4a4a4a;
  margin: 1px auto 36px;
  max-width: 700px;
}

.elockr-phones-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.elockr-hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
}

.elockr-body-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) repeat(9, minmax(0, 1fr));
  column-gap: 24px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 12vw;
  align-items: start;
  box-sizing: border-box;
}

.elockr-side-nav {
  grid-column: 1 / 4;
  padding: 32px 0 48px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 100px;
  align-self: start;
}

.elockr-side-nav-link {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #6b6b6f;
  text-decoration: none;
  padding: 11px 0 10px 12px;
  position: relative;
  transition: color 0.2s ease;
}

.elockr-side-nav-link:hover {
  color: rgba(231, 231, 231, 0.9);
}

.elockr-side-nav-link.is-active {
  color: #ffffff;
  font-weight: 600;
}

.elockr-side-nav-link.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 20px;
  background: #27B9F2;
  border-radius: 0 1px 1px 0;
}

.elockr-body-content {
  grid-column: 4 / -1;
  min-width: 0;
  padding: 32px 0 48px 0;
}

.elockr-body-content .project-section-content {
  max-width: none;
  margin: 0;
}

.elockr-body-meta {
  display: flex;
  gap: 100px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 16px 0;
}

.elockr-body-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.elockr-body-meta-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14px;
  color: #969696;
}

.elockr-body-meta-value {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(231, 231, 231, 0.95);
}

.elockr-body-meta-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0 0 64px 0;
}

.elockr-body-section.project-section {
  padding: 0 0 150px 0;
  scroll-margin-top: 100px;
}

.elockr-body-section.project-section:last-child {
  padding-bottom: 24px;
}

.elockr-context-image-wrap {
  margin-top: 32px;
}

.elockr-context-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
}

.elockr-redesign .elockr-solution-section {
  padding-bottom: 80px;
}

.elockr-solution-card {
  background: linear-gradient(180deg, rgba(19, 36, 42, 0.96) 0%, rgba(8, 14, 16, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36);
  padding: 0;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
}

.elockr-solution-card-reverse {
  flex-direction: column;
}

.elockr-solution-card-media {
  width: 100%;
  padding: 28px 28px 0;
  order: -1;
}

.elockr-solution-card-media img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
  border-radius: 14px;
}

.elockr-solution-card-text {
  padding: 22px 28px 30px;
  min-width: 0;
}

.elockr-solution-card-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 10px;
}

.elockr-solution-card-desc {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(231, 231, 231, 0.88);
  margin: 0;
}

.elockr-impact-section {
  padding: 48px 12vw 80px;
}

.project-section.elockr-impact-section.elockr-body-section {
  padding: 0 0 100px 0;
}

.elockr-impact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  align-items: stretch;
}

.elockr-impact-card {
  background: linear-gradient(180deg, rgb(6 41 54 / 96%) 0%, rgba(8, 14, 16, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36);
  padding: 28px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  overflow: hidden;
}

.elockr-impact-metric {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.2;
  min-height: 60px;
}

.elockr-impact-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  align-self: flex-start;
}

.elockr-impact-category {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.15;
}

.elockr-impact-desc {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(231, 231, 231, 0.88);
  margin: 0;
}

.elockr-cta-case-study {
  padding: 0 0 64px;
  text-align: center;
}

.elockr-case-study-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border: 2px solid #4ac4bd;
  border-radius: 6px;
  background: transparent;
  color: #4ac4bd;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.elockr-case-study-link:hover {
  background: #5BC0C0;
  color: #2A2A2A;
  border-color: #2A2A2A;
}

.elockr-case-study-link .prototype-link-icon img {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 0 0.6px #4ac4bd) drop-shadow(0 0 0.4px #4ac4bd);
  transition: filter 0.2s ease;
}

.elockr-case-study-link:hover .prototype-link-icon img {
  filter: brightness(0);
}

@media (max-width: 900px) {
  .elockr-hero-container {
    padding: 36px 24px 44px;
  }

  .elockr-hero-subtitle {
    margin-bottom: 32px;
  }

  .elockr-body-layout {
    grid-template-columns: 1fr;
    padding: 0 12vw;
  }

  .elockr-side-nav {
    grid-column: 1;
    width: 100%;
    padding: 24px 0 16px;
    flex-direction: row;
    gap: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .elockr-side-nav-link.is-active::before {
    left: 0;
    top: auto;
    bottom: -1px;
    transform: none;
    width: 100%;
    height: 2px;
    border-radius: 0;
  }

  .elockr-body-content {
    grid-column: 1;
    padding: 24px 0 32px;
  }

  .elockr-phones-inner {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .elockr-solution-card {
    border-radius: 16px;
  }

  .elockr-solution-card-media {
    padding: 18px 18px 0;
  }

  .elockr-solution-card-text {
    padding: 18px 18px 22px;
  }

  .elockr-impact-card {
    border-radius: 16px;
  }

  .elockr-impact-cards {
    grid-template-columns: 1fr;
  }
}
