/* ==========================================================================
   About Us: Our Core Values tabs (about.html only).
   Scoped under .ph-values; uses the shared --hp-* tokens from shared-chrome.css.
   ========================================================================== */

.ph-values {
  position: relative;
  margin-top: clamp(90px, 9vw, 140px);
}

.ph-values .values-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

/* index.html kicker and heading typography */
.ph-values .hp-kicker {
  font-family: var(--hp-nav);
  font-size: 17px;
  color: var(--hp-orange);
  margin: 0 0 14px;
}

.ph-values .hp-h2 {
  font-family: var(--hp-sans);
  font-size: clamp(36px, 3.6vw, 54px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -.035em;
  color: var(--hp-navy);
  margin: 0;
  text-wrap: balance;
}

.ph-values .hp-h2 .hp-script {
  font-size: 60px;
  line-height: 1;
}

.ph-values .values-hint {
  font-size: 17px;
  line-height: 1.5;
  color: var(--hp-ink);
  max-width: 340px;
  margin: 0;
}

/* ---------- tab row ---------- */
.ph-values .values-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.ph-values .value-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  min-height: 172px;
  padding: 22px 22px 24px;
  border: 1px solid #e3e9f1;
  border-radius: 22px;
  background: #fff;
  color: var(--hp-navy);
  text-align: left;
  font-family: var(--hp-nav);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.ph-values .value-tab:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(14, 42, 71, .08);
}

.ph-values .value-tab:focus-visible {
  outline: 2px solid var(--hp-orange);
  outline-offset: 3px;
}

.ph-values .value-tab[aria-selected="true"] {
  background: var(--hp-blue);
  border-color: var(--hp-blue);
  color: #fff;
  box-shadow: 0 18px 36px rgba(10, 74, 149, .28);
}

.ph-values .tab-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.ph-values .tab-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--tint, #dbe8f5);
  transition: background-color .25s ease;
}

.ph-values .tab-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.ph-values .tab-num {
  font-size: 14px;
  font-weight: 600;
  color: #8a97a8;
  letter-spacing: .04em;
}

.ph-values .value-tab[aria-selected="true"] .tab-num {
  color: var(--hp-orange);
}

.ph-values .value-tab[aria-selected="true"] .tab-icon {
  background: rgba(255, 255, 255, .16);
}

/* ---------- detail panel ---------- */
.ph-values .value-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  margin-top: 22px;
  padding: 40px 44px;
  background: #fff;
  border: 1px solid #e3e9f1;
  border-radius: 24px;
  animation: valuesFade .45s ease;
}

.ph-values .value-panel[hidden] {
  display: none;
}

.ph-values .panel-kicker {
  font-family: var(--hp-nav);
  font-size: 17px;
  color: var(--hp-orange);
  margin: 0 0 12px;
}

.ph-values .panel-title {
  font-family: var(--hp-nav);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--hp-navy);
  margin: 0 0 14px;
}

.ph-values .panel-text {
  font-size: 18px;
  line-height: 1.65;
  color: var(--hp-ink);
  max-width: 640px;
  margin: 0;
}

.ph-values .panel-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.ph-values .panel-tag {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--hp-sky);
  color: var(--hp-blue);
  font-family: var(--hp-nav);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.ph-values .panel-img {
  width: 150px;
  height: auto;
}

@keyframes valuesFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- tablet: horizontal scroll row of tabs ---------- */
@media (max-width: 1100px) {
  .ph-values .values-tabs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    gap: 16px;
    padding: 6px 2px 14px;
    scrollbar-width: none;
  }
  .ph-values .values-tabs::-webkit-scrollbar {
    display: none;
  }
  .ph-values .value-tab {
    flex: 0 0 230px;
    scroll-snap-align: start;
  }
}

/* ---------- phones ---------- */
@media (max-width: 720px) {
  .ph-values .values-head {
    margin-bottom: 28px;
  }
  .ph-values .values-hint {
    font-size: 16px;
  }
  .ph-values .value-tab {
    flex-basis: 200px;
    min-height: 150px;
    padding: 18px 18px 20px;
  }
  .ph-values .value-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 26px 22px;
  }
  .ph-values .panel-text {
    font-size: 16px;
  }
  .ph-values .panel-aside {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .ph-values .panel-img {
    width: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ph-values .value-tab,
  .ph-values .value-panel {
    transition: none;
    animation: none;
  }
}
