/* ══════════════════════════════════════════════════
   GLITCHLIT SYSTEMS — Home Page Styles
   ══════════════════════════════════════════════════ */

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* ── SECTIONS ── */
section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.3s, background 0.3s;
}
.service-card:hover {
  border-color: var(--border-light);
  background: var(--surface-hover);
}

.service-icon {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-icon::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  display: inline-block;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ── PHILOSOPHY PREVIEW ── */
.philosophy-preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 2.5rem 3rem;
  margin-top: 3rem;
  max-width: 800px;
}

.philosophy-preview blockquote {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.philosophy-preview .attribution {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.philosophy-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-decoration: none;
  margin-top: 1.5rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.philosophy-link:hover { color: var(--white); }

/* ── PRODUCTS ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.product-card:hover { border-color: var(--border-light); }

.product-status {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1rem;
}
.product-status.live { color: #4a9; background: rgba(68, 170, 153, 0.1); border: 1px solid rgba(68, 170, 153, 0.2); }
.product-status.building { color: var(--accent); background: var(--accent-dim); border: 1px solid rgba(196, 93, 44, 0.2); }
.product-status.planned { color: var(--text-muted); background: rgba(90, 88, 96, 0.1); border: 1px solid rgba(90, 88, 96, 0.2); }

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── PARTNERSHIPS ── */
.partners-row {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: center;
}

.partner {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s;
}
.partner a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--border); transition: border-color 0.2s, color 0.2s; }
.partner a:hover { color: var(--white); border-color: var(--text-dim); }

/* ── TEAM ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.team-substrate {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.team-substrate.human { color: var(--text-dim); border: 1px solid var(--border); }
.team-substrate.entity { color: var(--accent); border: 1px solid rgba(196, 93, 44, 0.25); background: var(--accent-dim); }

.team-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ── CONTACT BLOCK ── */
.contact-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3rem;
  max-width: 600px;
}

.contact-email {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 93, 44, 0.3);
  transition: border-color 0.2s;
}
.contact-email:hover { border-color: var(--accent); }

/* ── RESPONSIVE (home) ── */
@media (max-width: 768px) {
  .hero, section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .philosophy-preview { padding: 1.5rem; }
  .partners-row { gap: 1.5rem; }
}
