/* ==========================================================================
   TEAM PAGE STYLES
   ==========================================================================
   Styles specific to team.html. Reuses .card, .page-hero, and
   .placeholder-note directly from components.css. New here: the team
   card's internal layout (photo placeholder, name, role, bio) and a
   small local prose style for the philosophy section — kept local
   rather than pulled from about.css's .prose-column, for the same
   reason explained in contact.css: reusing one small pattern from an
   otherwise unrelated page's stylesheet would mean depending on a file
   full of rules this page doesn't need, just to avoid four lines of
   duplication.
   ========================================================================== */


/* ==========================================================================
   TEAM GRID — deliberately flexible. One real card today, built to
   hold more without any layout changes once there's a real team to add.
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}


/* ==========================================================================
   PHOTO PLACEHOLDER — intentionally styled to look unfinished (dashed
   border, muted fill, generic outline icon) rather than polished, so
   it reads immediately as "a real photo goes here later" rather than
   as a deliberate design choice.
   ========================================================================== */

.team-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--color-sand);
  border: 1.5px dashed var(--color-border-strong);
  color: var(--color-text-muted);
}

.team-photo-placeholder svg {
  width: 40px;
  height: 40px;
}

.team-name-placeholder,
.team-role-placeholder {
  font-family: var(--font-mono);
  font-size: var(--text-body-sm);
  color: var(--color-amber);
}

.team-role-placeholder {
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 600;
}

.team-card h3 {
  font-size: var(--text-heading-sm);
}

.team-bio-placeholder {
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
  font-style: italic;
  max-width: 320px;
}

.team-role {
  color: var(--color-text-muted);
  font-weight: 600;
}

.team-bio {
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
  max-width: 320px;
}


/* ==========================================================================
   EMPTY TEMPLATE SLOT — a visibly different card style showing the
   grid is ready to hold more people, WITHOUT inventing a second person
   to fill it. Dashed all the way around (not just the photo), lower
   opacity, no name/role/bio fields at all — this should read as "an
   empty slot," never as "a real but underspecified team member."
   ========================================================================== */

.team-card-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-md);
  border: 1.5px dashed var(--color-border-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  min-height: 260px;
  opacity: 0.7;
}

.team-card-empty svg {
  width: 32px;
  height: 32px;
  color: var(--color-text-muted);
}

.team-card-empty p {
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
  max-width: 220px;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ==========================================================================
   FOUNDER PHILOSOPHY SECTION
   ========================================================================== */

.philosophy-section {
  padding-block: var(--space-5xl);
  background: var(--color-sand);
}

.philosophy-text {
  max-width: 680px; /* same line-length reasoning used everywhere else
                        long-form text appears on this site */
}

.philosophy-text p {
  font-size: var(--text-body-lg);
  margin-bottom: var(--space-lg);
}

.philosophy-text p:last-child {
  margin-bottom: 0;
}


/* ==========================================================================
   TEAM INTRO SECTION
   ==========================================================================
   BUG FIX: this section previously used class="about-section", a class
   only ever defined in about.css — which this page never loads. That
   meant the section's padding rhythm silently did nothing this whole
   time. Self-contained here instead, matching the exact fix already
   applied to the Contact page for the identical bug. Same value as
   about.css's version, so the visual output is unchanged.
   ========================================================================== */

.team-intro-section {
  padding-block: var(--space-5xl);
}
