/* ── index.css — Homepage-specific styles ─────────────── */

/* ── Section inner (shared utility) ──────────────────── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ── 2. PRISM overview ────────────────────────────────── */
.prism-overview {
  padding: 7rem 0 6rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.prism-overview .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.prism-overview-left h2 {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 300;
  color: #e8edf5;
  line-height: 1.2;
  margin: 0 0 1.5rem;
}
.prism-overview-left h2 strong { font-weight: 700; }
.prism-overview-left p {
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(200,210,230,0.6);
  line-height: 1.8;
  margin: 0 0 1.2rem;
}
.prism-overview-left p:last-of-type { margin-bottom: 2rem; }
.prism-overview-right { padding-top: 0.4rem; }
.prism-product {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.prism-product:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.prism-product-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.4rem;
}
.prism-product-id {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  color: rgba(74,140,255,0.55);
  letter-spacing: 0.08em;
}
.prism-product-name {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #e8edf5;
}
.prism-product-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: rgba(200,210,230,0.4);
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}
.prism-product-desc {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(200,210,230,0.5);
  line-height: 1.65;
  margin: 0;
}

/* ── 3. Industries ────────────────────────────────────── */
.industries {
  padding: 6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.industries-header { margin-bottom: 3rem; }
.industries-header h2 {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 300;
  color: #e8edf5;
  margin: 0;
}
.industries-header h2 strong { font-weight: 700; }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.industry-item {
  padding: 2rem 2rem 2rem 0;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.industry-item:last-child { border-right: none; padding-left: 2rem; padding-right: 0; }
.industry-item:nth-child(2),
.industry-item:nth-child(3) { padding-left: 2rem; }
.industry-number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  color: rgba(74,140,255,0.4);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.industry-name {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e8edf5;
  margin-bottom: 0.5rem;
}
.industry-desc {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(200,210,230,0.45);
  line-height: 1.65;
}

/* ── 4. Engineering services teaser ──────────────────── */
.services-teaser {
  padding: 6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.services-teaser .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}
.services-teaser-left { flex: 1; max-width: 620px; }
.services-teaser-left h2 {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 300;
  color: #e8edf5;
  line-height: 1.25;
  margin: 0 0 1rem;
}
.services-teaser-left h2 strong { font-weight: 700; }
.services-teaser-left p {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.97rem;
  font-weight: 300;
  color: rgba(200,210,230,0.55);
  line-height: 1.8;
  margin: 0;
}
.services-teaser-cta { flex-shrink: 0; }

/* ── 5. Contact (homepage variant) ───────────────────── */
.contact-section { padding: 5rem 0; }
.contact-section .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.contact-left h2 {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 300;
  color: #e8edf5;
  margin: 0 0 0.5rem;
}
.contact-left h2 strong { font-weight: 700; }
.contact-left p {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(200,210,230,0.45);
  line-height: 1.6;
  margin: 0;
  max-width: 420px;
}
.contact-email {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.95rem;
  color: #4a8cff;
  text-decoration: none;
  border-bottom: 1px solid rgba(74,140,255,0.3);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.contact-email:hover {
  color: #7aadff;
  border-color: rgba(74,140,255,0.7);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .prism-overview .section-inner { grid-template-columns: 1fr; gap: 3rem; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-item:nth-child(2) { border-right: none; padding-right: 0; }
  .industry-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.07); padding-left: 0; border-right: 1px solid rgba(255,255,255,0.07); }
  .industry-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.07); }
  .services-teaser .section-inner { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .contact-section .section-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}
@media (max-width: 600px) {
  .industries-grid { grid-template-columns: 1fr; }
  .industry-item,
  .industry-item:nth-child(2),
  .industry-item:nth-child(3),
  .industry-item:last-child { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 1.5rem 0; }
  .industry-item:last-child { border-bottom: none; }
}