/* ── Our Team Page ────────────────────────────────────────────────────────────
   Uses the site's existing design tokens:
   --text:#20242d  --gold:#c9a84c  --gold-dark:#b0872c  --muted:#606775
   Red accent: #c74242
   Fonts: Cormorant Garamond + DM Sans
   ─────────────────────────────────────────────────────────────────────────── */

/* Hero uses the site's standard .hero.hero-breadcrumb component (see
   styles.css) with no overrides here, so its font, weight, and layout match
   every other page (Corporate Offsites, CXO Retreats, Private Journey, etc.)
   exactly. */

/* ── INTRO (full-bleed band, wide two-column) ────────────────────────────── */
.team-intro-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 64px;
}

.team-intro-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.team-intro-left {
  position: relative;
}

.team-intro-mark {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 140px;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.16;
  margin-top: 18px;
}

/* ── SECTION HEAD (before team cards) ────────────────────────────────────── */
.team-section-head {
  max-width: 1320px;
  margin: 0 auto;
  padding: 96px 48px 0;
  text-align: center;
}

.team-section-head .section-eyebrow {
  justify-content: center;
}

.team-section-head .section-sub {
  max-width: none;
  margin: 18px auto 0;
  text-align: center;
  font-size: clamp(17px, 1.9vw, 20px);
}

/* ── TEAM CARDS (full width) ─────────────────────────────────────────────── */
.team-cards-outer {
  padding: 64px 48px 110px;
}

.team-cards-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.team-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: left;
  box-shadow: 0 10px 32px rgba(14,22,40,0.06);
  transition: opacity .6s ease, transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  z-index: 2;
  background: linear-gradient(90deg, var(--gold), var(--gold2), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 54px rgba(14,22,40,0.14);
  border-color: rgba(201,168,76,0.35);
}

.team-card:hover::before {
  transform: scaleX(1);
}

.team-card-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

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

.team-card-initials {
  font-family: 'Cormorant Garamond', serif;
  font-size: 58px;
  font-weight: 700;
  color: #1b1c20;
}

.team-card-body {
  padding: 26px 26px 32px;
}

.team-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 23px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.team-card-role {
  margin-bottom: 16px;
}

.team-card-role span {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 999px;
  padding: 5px 14px;
}

.team-card-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.team-card-contact {
  list-style: none;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-card-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.team-card-contact svg {
  width: 15px;
  height: 15px;
  fill: var(--gold-dark);
  flex-shrink: 0;
}

.team-card-contact a {
  color: var(--muted);
  text-decoration: none;
  word-break: break-word;
  transition: color .2s ease;
}

.team-card-contact a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}

.team-card-linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(201,168,76,0.1);
  border: 1.5px solid rgba(201,168,76,0.35);
  color: var(--gold-dark);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.team-card-linkedin-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

.team-card-linkedin-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #1b1c20;
  transform: translateY(-2px);
}

/* ── FOUNDER SPOTLIGHT ────────────────────────────────────────────────────── */
.founder-spotlight {
  position: relative;
  max-width: 1440px;
  margin: 56px 48px 88px;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 380px 1fr;
  align-items: stretch;
  background: linear-gradient(120deg, #0f1117 0%, #1c1610 45%, #2c1f12 100%);
  color: #f7f7f7;
  box-shadow: 0 24px 60px rgba(14,22,40,0.18);
}

@media (min-width: 640px) {
  .founder-spotlight { margin-left: auto; margin-right: auto; }
}

.founder-spotlight-photo {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-spotlight-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-spotlight-photo .team-card-initials {
  position: relative;
  font-size: 72px;
}

.founder-spotlight-inner {
  position: relative;
  z-index: 1;
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.founder-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #f2d179;
  margin-bottom: 18px;
}

.founder-spotlight::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(201,168,76,0.4), rgba(201,168,76,0));
  filter: blur(2px);
  pointer-events: none;
}

.founder-quote-icon {
  display: block;
  color: var(--gold);
  opacity: 0.7;
  font-size: 64px;
}

.founder-quote {
  max-width: 640px;
  margin: 0 0 28px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(23px, 2.8vw, 30px);
  line-height: 1.45;
  color: #fdfaf3;
}

.founder-person {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.founder-name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.founder-role {
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
}

/* ── TRUST (full-bleed band, wide two-column) ────────────────────────────── */
.team-trust-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 64px;
}

.team-trust-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.team-trust-right .callout {
  margin-top: 22px;
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .team-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .team-intro-wrap,
  .team-trust-wrap { grid-template-columns: 1fr; gap: 32px; }
  .team-intro-mark { display: none; }
  .founder-spotlight { margin-left: 24px; margin-right: 24px; }
}

@media (max-width: 860px) {
  .founder-spotlight { grid-template-columns: 1fr; }
  .founder-spotlight-photo { min-height: 280px; }
  .founder-spotlight-inner { padding: 48px 36px; text-align: center; align-items: center; }
  .founder-quote { margin-left: auto; margin-right: auto; }
  .founder-person { align-items: center; }
}

@media (max-width: 720px) {
  .team-intro-section,
  .team-trust-section { padding: 72px 24px; }
  .team-cards-outer { padding: 56px 20px 90px; }
}

@media (max-width: 620px) {
  .team-cards-grid { grid-template-columns: 1fr; gap: 24px; }
  .team-hero-inner { padding: 70px 22px; }
  .team-section-head { padding: 72px 22px 0; }
  .founder-spotlight { margin-left: 16px; margin-right: 16px; }
  .founder-spotlight-inner { padding: 40px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .team-hero-scroll svg { animation: none; }
  .team-card, .founder-spotlight.reveal-section { transition-duration: .01ms !important; }
}
