/* ============================================
   Equipment Hubs — Case Study Page
   ============================================ */

.page-eh {
  background-color: #ffffff;
}

.page-eh .site-header {
  background-color: #ffffff;
}

/* ── §1 HERO ───────────────────────────────── */

.eh-hero {
  padding: 20px 64px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #ffffff;
  border-bottom: 1.5px solid transparent;
}

.eh-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 1152px;
}

/* Hero video card */
.eh-hero__phone {
  width: min(700px, 100%);
  aspect-ratio: 4 / 3;
  border-radius: 40px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}

.eh-hero__phone video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eh-hero__titles {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.eh-hero__title {
  font-family: var(--font-condensed);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 400;
  color: #683a71;
  letter-spacing: -1.92px;
  line-height: 1;
  margin: 0;
}

.eh-hero__subtitle {
  font-family: var(--font-regular);
  font-size: clamp(18px, 2.5vw, 40px);
  font-weight: 400;
  color: #683a71;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin: 0;
}

/* ── §3 PERSONA CARDS ──────────────────────── */

.eh-personas {
  padding: 40px 64px 60px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  background-color: #ffffff;
}

.eh-persona {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
  border: 3px solid #683a71;
  border-radius: 12px;
  overflow: hidden;
}

.eh-persona img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── §4 MATRIX DIAGRAM ─────────────────────── */

.eh-matrix-figure {
  margin: 8px auto;
  max-width: 832px;
}

.eh-matrix-figure a {
  display: block;
  border: 3px solid #683a71;
  border-radius: 8px;
  overflow: hidden;
}

.eh-matrix-figure a:hover img {
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.eh-matrix-figure img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

.eh-matrix-caption {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(0, 0, 0, 0.45);
  text-align: center;
  margin-top: 8px;
}

@media (hover: hover) {
  .eh-matrix-caption { display: none; }
}

/* ── §5 PROTOTYPE SKETCH ILLUSTRATION ──────── */

.eh-image-section {
  padding: 0 64px 60px;
  background-color: #ffffff;
}

.eh-image-full {
  display: block;
  width: 100%;
  max-width: 832px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

/* ── §6 CONCEPT MEDIA ──────────────────────── */

.eh-concept-media {
  padding: 0 64px 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  background-color: #ffffff;
}

.eh-concept-illustration {
  display: block;
  width: 100%;
  max-width: 832px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

/* Video aspect ratios (EH-specific) */
.eh-app-video {
  aspect-ratio: 1036 / 559;
}

.eh-app-video-2 {
  aspect-ratio: 1066 / 575;
}

/* ── §8 OUTCOME PHOTOS ─────────────────────── */

.eh-outcome-photos {
  padding: 0 64px 60px;
  display: flex;
  gap: 24px;
  background-color: #ffffff;
}

.eh-outcome-photo {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
}

.eh-outcome-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3704 / 1997;
  object-fit: cover;
}

/* ── RESPONSIVE: tablet ≤1100px ────────────── */

@media (max-width: 1100px) {
  .eh-hero {
    padding-left: 32px;
    padding-right: 32px;
  }

  .eh-personas {
    padding-left: 32px;
    padding-right: 32px;
  }

  .eh-image-section {
    padding-left: 32px;
    padding-right: 32px;
  }

  .eh-concept-media {
    padding-left: 32px;
    padding-right: 32px;
  }

  .eh-outcome-photos {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* ── RESPONSIVE: mobile ≤767px ─────────────── */

@media (max-width: 767px) {
  .eh-hero {
    padding: 24px 24px 32px;
  }

  .eh-hero__inner {
    gap: 32px;
  }

  .eh-personas {
    flex-direction: column;
    padding: 32px 24px 40px;
    gap: 24px;
  }

  .eh-persona {
    flex: none;
    width: 100%;
  }

  .eh-image-section {
    padding: 0 24px 40px;
  }

  .eh-matrix-figure {
    margin-left: 0;
    margin-right: 0;
  }

  .eh-concept-media {
    padding: 0 24px 40px;
    gap: 24px;
  }

  .eh-outcome-photos {
    flex-direction: column;
    padding: 0 24px 40px;
    gap: 16px;
  }

  .eh-outcome-photo {
    flex: none;
    width: 100%;
  }

  .eh-matrix-caption { display: block; }
}
