/* ── Home page styles ────────────────────────────────────────────────── */

.hero {
  padding: 72px 0 96px;
}
@media (max-width: 600px) { .hero { padding: 48px 0 64px; } }

.hero-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #0f0e1c;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  width: 100%;
  justify-self: end;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media__chrome {
  position: absolute;
  top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
}
.hero-media__chrome .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(52, 38, 254, 0.25);
}
.hero-media__chrome .dot--live {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25); }
  50%      { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.05); }
}
.hero-media__axes {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}
@media (max-width: 600px) {
  .hero-media__axes { display: none; }
}

/* ── Credibility bar ─────────────────────────────────────────────────── */
.creds {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--white);
  padding: 32px 0;
}
.creds-title { margin-bottom: 24px; }
.creds-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 720px) {
  .creds-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
.cred {
  display: flex; align-items: center; gap: 16px;
}
.cred img {
  width: 56px; height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--bg-3);
  padding: 6px;
}
.cred-glyph {
  width: 56px; height: 56px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.cred-name { font-size: 14px; font-weight: 500; color: var(--fg-1); margin-bottom: 2px; }
.cred-sub  { font-size: 12px; color: var(--fg-3); font-family: var(--font-mono); letter-spacing: 0.6px; }

/* ── Pillars ─────────────────────────────────────────────────────────── */
.pillars-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}
@media (max-width: 900px) {
  .pillars-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  background: var(--bg-2);
  overflow: hidden;
}
.pillar {
  padding: 40px 32px;
  border-right: 1px solid var(--border-subtle);
  display: flex; flex-direction: column; gap: 16px;
}
.pillar:last-child { border-right: none; }
.pillar-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--brand-blue-link);
}
.pillar p { color: var(--fg-2); font-size: 14px; line-height: 1.6; }
.pillar-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
}
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .pillar:last-child { border-bottom: none; }
}

/* ── Use cases preview ───────────────────────────────────────────────── */
.usecase-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 32px; margin-bottom: 48px; flex-wrap: wrap;
}
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.usecase-grid--three {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .usecase-grid--three { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .usecase-grid { grid-template-columns: 1fr; }
}
.usecase-card { padding: 0; overflow: hidden; }
.usecase-card__media {
  aspect-ratio: 16 / 10;
  background: #0f0e1c;
  overflow: hidden;
}
.usecase-card__media img { width: 100%; height: 100%; object-fit: cover; }
.usecase-card__media--alt { /* placeholder media */ }
.usecase-card__body { padding: 24px; }

/* ── Team teaser ─────────────────────────────────────────────────────── */
.team-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 32px; margin-bottom: 48px; flex-wrap: wrap;
}
.team-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.team-row--two { grid-template-columns: repeat(2, minmax(0, 320px)); gap: 32px; }
.team-row--three { grid-template-columns: repeat(3, minmax(0, 320px)); gap: 32px; }
.teammate--cta {
  text-decoration: none;
  color: var(--fg-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: center;
  justify-self: start;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border-1);
  background: var(--bg-1);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
.teammate--cta:hover {
  color: var(--brand-blue-link);
  border-color: var(--brand-blue-30);
  background: var(--brand-blue-06);
}
.teammate__cta-arrow {
  font-size: 16px;
  line-height: 1;
  transition: transform 160ms ease;
}
.teammate--cta:hover .teammate__cta-arrow { transform: translateX(3px); }
.teammate__cta-label { line-height: 1; }
@media (max-width: 900px) {
  .team-row--three { grid-template-columns: repeat(2, 1fr); }
  .teammate--cta { grid-column: span 2; justify-self: start; }
}
@media (max-width: 900px) {
  .team-row { grid-template-columns: repeat(2, 1fr); }
}
.teammate {
  display: flex; flex-direction: column; gap: 12px;
}
.avatar {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(52,38,254,0.35), transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(124,58,237,0.25), transparent 60%),
    linear-gradient(135deg, #1a1530 0%, #0f0e1c 100%);
  border: 1px solid var(--border-subtle);
  position: relative;
}
.avatar::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  border-radius: 12px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.avatar--b { background: linear-gradient(135deg, #18139c 0%, #0f0e1c 100%); }
.avatar--c { background: linear-gradient(135deg, #3426fe 0%, #1a1530 100%); }
.avatar--d { background: linear-gradient(135deg, #7c3aed 0%, #18139c 100%); }
.avatar--e { background: linear-gradient(135deg, #c026d3 0%, #1a1530 100%); }

.teammate__name { font-size: 15px; font-weight: 500; }
.teammate__role { font-size: 12px; color: var(--fg-3); font-family: var(--font-mono); letter-spacing: 0.4px; line-height: 1.4; }
