/* ═══════════════════════════════════════════════════
   HOME.CSS — Companion stylesheet for AUM Research homepage
   Uses ONLY existing CSS variables from styles.css
   Upload to httpdocs alongside styles.css and index.html
═══════════════════════════════════════════════════ */

/* ── Hero Proof Row ──────────────────────────────── */
.h-proof-row {
  display: flex;
  align-items: center;
  margin: 30px 0 34px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 32px;
  width: fit-content;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
  gap: 0;
}

.h-proof-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 28px;
}

.h-proof-item:first-child {
  padding-left: 0;
}

.h-proof-item:last-child {
  padding-right: 0;
}

.h-proof-item strong {
  font-size: 34px;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1;
}

.h-proof-item span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.h-proof-divider {
  width: 1px;
  height: 44px;
  background: var(--line);
  flex-shrink: 0;
}

/* ── Commissioned Strip ──────────────────────────── */
.commissioned-strip {
  background: var(--navy-deep);
  padding: 18px 0;
  border-bottom: 3px solid var(--teal);
}

.commissioned-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.commissioned-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.commissioned-scroll {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.commissioned-scroll span {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
}

.c-sep {
  color: rgba(255,255,255,0.2) !important;
  font-size: 18px !important;
  font-weight: 300 !important;
}

/* ── Section Subheading ──────────────────────────── */
.h-subhead {
  font-size: 18px;
  color: var(--muted);
  max-width: 700px;
  margin: 14px auto 0;
  line-height: 1.65;
}

/* ── Impact Band ─────────────────────────────────── */
.h-impact-band {
  background: var(--navy-deep);
  padding: 56px 0;
}

.h-impact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
}

.h-impact-item {
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.h-impact-item:last-child {
  border-right: none;
}

.h-impact-item strong {
  display: block;
  font-size: 48px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 12px;
}

.h-impact-item span {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}

/* ── What We Do Grid ─────────────────────────────── */
.wwd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.wwd-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px 26px;
  transition: box-shadow 0.22s, transform 0.22s;
  display: flex;
  flex-direction: column;
}

.wwd-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.wwd-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.wwd-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0 0 10px;
  line-height: 1.3;
}

.wwd-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 18px;
  flex: 1;
}

.h-card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  margin-top: auto;
  transition: color 0.18s;
}

.h-card-link:hover {
  color: var(--navy-deep);
}

/* ── Process Grid ────────────────────────────────── */
.h-process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.h-process-grid::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--navy-deep));
  z-index: 0;
}

.h-process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
}

.h-process-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--navy-deep);
}

.h-process-step h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0 0 10px;
}

.h-process-step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Sectors Grid ────────────────────────────────── */
.h-sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.h-sector-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  border-top: 4px solid var(--teal);
  transition: box-shadow 0.22s, transform 0.22s;
}

.h-sector-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.h-sector-icon {
  font-size: 26px;
  margin-bottom: 12px;
}

.h-sector-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0 0 8px;
  line-height: 1.3;
}

.h-sector-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Assignment Cards ────────────────────────────── */
.h-assign-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.h-assign-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  border-top: 4px solid var(--navy-deep);
  transition: box-shadow 0.22s, transform 0.22s;
  display: flex;
  flex-direction: column;
}

.h-assign-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.h-assign-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  gap: 8px;
  flex-wrap: wrap;
}

.h-assign-sector {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.h-assign-client {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.h-assign-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0 0 10px;
  line-height: 1.35;
}

.h-assign-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 18px;
  flex: 1;
}

.h-assign-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}

.h-assign-tags span {
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  background: var(--teal-soft);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ── Differentiator List ─────────────────────────── */
.h-diff-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 30px;
}

.h-diff-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.h-diff-tick {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
  flex-shrink: 0;
}

.h-diff-item strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-deep);
  display: block;
  margin-bottom: 3px;
}

.h-diff-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── CTA Strip ───────────────────────────────────── */
.h-cta-strip {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 80px 0;
}

.h-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.h-cta-copy h2 {
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.25;
  max-width: 580px;
}

.h-cta-copy p {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  margin: 0;
  max-width: 540px;
  line-height: 1.7;
}

.h-cta-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
}

.h-cta-outline {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  border-bottom: 2px solid rgba(255,255,255,0.35);
  padding-bottom: 2px;
  transition: color 0.18s, border-color 0.18s;
}

.h-cta-outline:hover {
  color: #fff;
  border-color: var(--teal);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1280px) {
  .wwd-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .h-sectors-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1120px) {
  .wwd-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .h-process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .h-process-grid::before { display: none; }
  .h-impact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .h-impact-item {
    border-right: none;
    padding-bottom: 20px;
  }
  .h-assign-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .h-sectors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .h-proof-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    width: 100%;
  }
  .h-proof-item { padding: 0; }
  .h-proof-divider { width: 100%; height: 1px; }
  .commissioned-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .commissioned-scroll { flex-direction: column; align-items: flex-start; gap: 6px; }
  .c-sep { display: none; }
  .wwd-grid,
  .h-assign-grid,
  .h-sectors-grid,
  .h-process-grid { grid-template-columns: 1fr; }
  .h-impact-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .h-cta-inner { flex-direction: column; text-align: center; }
  .h-cta-actions { justify-content: center; }
  .h-cta-copy h2 { font-size: 22px; }
}
