/* About page: team profiles. Dean (owner) leads; Danny's card is more compact. */
.team-section { background: #f7f4eb; }
.team-list { display: grid; gap: 28px; max-width: 1040px; margin: 0 auto; }
.team-card { background: #fffdf8; border: 1px solid #d9d8ca; border-top: 4px solid #c8a84b; border-radius: 3px; text-align: left; }
.team-card img { display: block; width: 100%; object-fit: cover; }
.team-role { display: block; margin-bottom: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #765b1b; }
.team-card h3 { margin: 0 0 16px; color: #153c2f; line-height: 1.15; }
.team-card p { margin: 0 0 14px; color: #3d3a34; line-height: 1.8; }

/* Lead profile layout (Dean and Danny). Photo keeps its natural 4:5 shape with the stats underneath; bio sits beside it. */
.team-card--lead { display: grid; grid-template-columns: 340px 1fr; align-items: stretch; }
.team-aside { display: flex; flex-direction: column; background: #f7f4eb; border-right: 1px solid #d9d8ca; }
.team-card--lead .team-photo { position: relative; aspect-ratio: 4 / 5; width: auto; margin: 0; border-radius: 0; overflow: hidden; background: #153c2f; }
.team-card--lead .team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-position: center 20%; }
.team-card--lead .team-body { padding: 46px 46px 42px; }
.team-card--lead h3 { font-size: clamp(2.1rem, 3.6vw, 2.9rem); }
.team-card--lead p { font-size: 1.02rem; }
.team-card--lead .team-intro { font-size: 1.15rem; line-height: 1.7; color: #153c2f; }
.team-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; flex: 1; margin: 0; padding: 26px 26px 28px; align-content: center; }
.team-stats dt { font-family: var(--font-display); font-size: 2.1rem; line-height: 1.1; color: #765b1b; }
.team-stats dd { margin: 4px 0 0; font-size: .8rem; line-height: 1.4; color: #4a463f; }

/* Current-focus callout (Danny) */
.team-focus { margin-top: 24px; padding: 4px 0 4px 18px; border-left: 3px solid #c8a84b; }
.team-focus span { display: block; margin-bottom: 4px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #765b1b; }
.team-card--lead .team-focus p { margin: 0; font-size: 1.05rem; color: #153c2f; }

/* Personal touch */
.team-personal { margin-top: 26px; padding-top: 22px; border-top: 1px solid #d9d8ca; }
.team-personal span { display: block; margin-bottom: 6px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #765b1b; }
.team-card--lead .team-personal p { margin: 0; font-size: 1rem; line-height: 1.75; }

/* Story section: simple link in place of the old button */
.story-link-wrap { margin: 26px 0 0; }
.story-link { color: #153c2f; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.story-link:hover { color: #765b1b; }

@media (max-width: 900px) {
  .team-card--lead { grid-template-columns: 1fr; }
  .team-aside { display: contents; }
  .team-card--lead .team-photo { order: 1; aspect-ratio: auto; height: 400px; }
  .team-card--lead .team-photo img { object-position: center 15%; }
  .team-card--lead .team-body { order: 2; padding: 30px 26px 8px; }
  .team-stats { order: 3; padding: 8px 26px 30px; }
}
