/* ==========================================================================
   Strategy Partners — Work Grid & Hero Layout
   ========================================================================== */

/* Homepage Hero Layout */
.hero-section {
  padding-top: 4rem;
  padding-bottom: 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-size: 3.25rem;
  margin: 1.25rem 0 1rem 0;
  letter-spacing: -0.03em;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brain-canvas-container {
  position: relative;
  width: 100%;
  max-width: 550px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#brain-hero {
  width: 100%;
  height: 100%;
  display: block;
}

/* Homepage Flagship Work Grid */
.work-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-subhead {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
}

.work-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.work-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-highlight);
}

.card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-footer {
  margin-top: auto;
}

.card-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.card-link:hover {
  color: #ffffff;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .work-grid {
    grid-template-columns: 1fr;
  }
}
