/* ─── SHARED SECTION-PAD (matches index.css) ─── */
.section-pad {
  padding: 7rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* ─── PAGE HEADER ─── */
.page-header {
  padding: 8rem 3rem 2.5rem;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.page-header .section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal);
  margin-bottom: 1rem;
  font-weight: 500;
}

.page-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--dark-teal);
  margin-bottom: 1.25rem;
}

.page-header h1 .accent {
  position: relative;
  display: inline-block;
}

.page-header h1 .accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 8px;
  background: var(--gold);
  opacity: 0.3;
  border-radius: 4px;
  z-index: -1;
}

.page-header p {
  font-size: 1.15rem;
  color: var(--teal);
  line-height: 1.65;
  font-weight: 300;
  max-width: 640px;
  margin: 0 auto;
}

/* ─── TEAM PHOTO ─── */
.team-photo .section-pad {
  padding-top: 0;
  padding-bottom: 0;
}

.team-photo-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(26, 65, 70, 0.18);
}

.team-photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.team-photo-caption {
  margin-top: 1rem;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(26, 65, 70, 0.55);
  font-weight: 300;
}

/* ─── STORY ─── */
.story {
  background: var(--cream);
  margin-top: 6rem;
}

.story .section-pad {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.story-grid .section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal);
  margin-bottom: 1rem;
  font-weight: 500;
}

.story-grid h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--dark-teal);
}

.story-body p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--dark-teal);
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.story-body p:last-child { margin-bottom: 0; }

.story-body strong {
  font-weight: 600;
  color: var(--dark-teal);
}

/* ─── TEAM GRID ─── */
.team {
  background: var(--light-cream);
}

.team .section-pad {
  padding-top: 6rem;
  padding-bottom: 7rem;
}

.team-intro {
  max-width: 720px;
  margin: 0 auto 4rem;
  text-align: center;
}

.team-intro .section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal);
  margin-bottom: 1rem;
  font-weight: 500;
}

.team-intro h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--dark-teal);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.team-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26, 65, 70, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(26, 65, 70, 0.12);
}

.team-card-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  background: var(--cream);
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-card-photo img {
  transform: scale(1.03);
}

.team-card-content {
  padding: 1.75rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-card-role {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.team-card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--dark-teal);
  margin-bottom: 1rem;
}

.team-card-bio {
  font-size: 0.97rem;
  line-height: 1.7;
  color: rgba(26, 65, 70, 0.78);
  font-weight: 400;
}

.team-card-bio + .team-card-bio {
  margin-top: 0.85rem;
}

/* ─── CTA ─── */
.cta-section {
  background: var(--dark-teal);
  color: var(--cream);
  text-align: center;
  position: relative;
}

.cta-section .section-pad {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.cta-section .section-label {
  color: var(--gold);
}

.cta-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--cream);
}

.cta-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.8;
  max-width: 540px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--cream);
  color: var(--dark-teal);
  padding: 1.1rem 2.5rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-btn:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-grid .team-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  .story-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .section-pad { padding: 4rem 1.5rem; }
  .page-header { padding: 7rem 1.5rem 2rem; }
  .team-photo-frame { border-radius: 14px; }
  .story { margin-top: 4rem; }
  .story .section-pad,
  .team .section-pad,
  .cta-section .section-pad {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .team-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .team-grid .team-card:nth-child(3) { max-width: none; }
  .team-card-content { padding: 1.5rem 1.5rem 1.75rem; }
}
