/* team.css: Our Team and profile pages.
   Revised 2026-10-15 per Elias: the pages now use the site's own menu, logo,
   footer, colors and fonts (styles.css, sections.css, page.css), and this file
   only lays out the team cards and profiles on the site's dark theme. */

.team-page .sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* The two section titles, Meet the Team and Our Trusted Advisors, read large at the same size across the page,
   with no paragraph under them (Elias, Oct 15), and the space between title and cards is kept tight. */
.team-page .team-title { font-size: clamp(2.7rem, 6.2vw, 5.4rem); max-width: none; color: var(--on-navy); line-height: 1.05; margin: 0 0 clamp(22px, 2.6vw, 34px); padding-bottom: 0.08em; }
.team-page .team-hero { padding-bottom: 0; border-bottom: 0; background: transparent; }
.team-page .team-hero .team-title { margin-bottom: 0; }
.team-page .team-section { padding-block: clamp(28px, 3.4vw, 48px); }
.team-page .founders-section { padding-top: clamp(22px, 2.6vw, 34px); }
.team-page .advisors-section { padding-top: clamp(40px, 4.6vw, 64px); padding-bottom: clamp(64px, 7vw, 100px); border-top: 1px solid var(--hairline); margin-top: clamp(28px, 3.4vw, 48px); }

/* Founders */
.founders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.founder-card { display: grid; grid-template-columns: 240px 1fr; background: var(--navy-800); border: 1px solid var(--hairline); }
.founder-photo { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 5; background: var(--navy-700); }
.founder-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.founder-body { padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.founder-body .role-tag { margin: 0 0 10px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-400); }
.founder-body h3 { font-family: var(--serif); font-weight: 500; font-size: 2.1rem; color: var(--on-navy); margin: 0 0 8px; line-height: 1.1; }
.team-page .license { margin: 0 0 18px; font-size: 0.92rem; color: var(--on-navy-soft); }
.team-page .view {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-300); text-decoration: none; border-bottom: 1px solid var(--gold-400); align-self: flex-start; padding-bottom: 3px;
}
.team-page .view:hover { color: var(--on-navy); border-bottom-color: var(--on-navy); }

/* Advisors */
.adv-group { margin-top: clamp(32px, 3.6vw, 48px); }
.team-title + .adv-group { margin-top: 0; }
.team-page .group-title {
  font-family: var(--serif); font-weight: 500; font-size: 1.9rem; color: var(--on-navy);
  display: flex; align-items: center; gap: 20px; margin: 0 0 22px;
}
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.adv-photo { display: block; width: 100%; aspect-ratio: 4 / 5; background: var(--navy-700); margin-bottom: 16px; }
.adv-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.adv h4 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; color: var(--on-navy); margin: 0 0 6px; line-height: 1.15; }
.adv h4 a { color: inherit; text-decoration: none; }
.adv h4 a:hover { color: var(--gold-300); }
.adv .title { margin: 0 0 4px; font-size: 0.9rem; color: var(--on-navy-soft); line-height: 1.5; }
.adv .license { margin: 0; font-size: 0.84rem; color: var(--gold-300); }

/* Photo placeholder tile with a quiet person icon */
.photo-ph {
  background: var(--navy-700) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 125'><circle cx='50' cy='48' r='15' fill='%23415675'/><path d='M20 104c0-18 13-30 30-30s30 12 30 30z' fill='%23415675'/></svg>") center / 44% no-repeat;
}

/* Draft placeholders. Visible on purpose so nothing reads as final. */
.ph {
  background: rgba(211, 173, 104, 0.16); color: var(--gold-200); padding: 0 4px; font-style: normal;
  outline: 1px dashed var(--gold-400); outline-offset: 1px;
}

/* Profile */
.profile-section { padding-top: clamp(150px, 16vw, 190px); }
.team-page .back {
  display: inline-block; margin-bottom: 36px; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-300); text-decoration: none; border-bottom: 1px solid transparent;
}
.team-page .back:hover { border-bottom-color: var(--gold-300); }
.profile-grid { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: start; }
.p-side { position: sticky; top: 110px; }
.p-photo { display: block; width: 100%; aspect-ratio: 4 / 5; background: var(--navy-700); margin-bottom: 24px; }
.p-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.team-page .p-side h1 { font-family: var(--serif); font-weight: 500; font-size: 2.7rem; color: var(--on-navy); margin: 0 0 10px; line-height: 1.1; }
.p-side .role { margin: 0 0 6px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-400); }
.p-side .license { margin-bottom: 0; }
.team-page .p-contact {
  display: block; text-align: center; margin-top: 22px; border: 1px solid var(--gold-400); color: var(--gold-300);
  text-decoration: none; padding: 14px 20px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.team-page .p-contact:hover { background: var(--gold-400); color: var(--navy-900); }
.p-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.team-page .btn-out {
  flex: 1 1 auto; text-align: center; border: 1px solid var(--hairline); color: var(--on-navy);
  text-decoration: none; padding: 11px 16px; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.team-page .btn-out:hover { border-color: var(--gold-400); color: var(--gold-300); }

.p-main section { margin-bottom: 60px; }
.team-page .p-h { font-family: var(--serif); font-weight: 500; font-size: 2.2rem; color: var(--on-navy); margin: 0 0 22px; display: flex; align-items: baseline; gap: 16px; }
.p-main p { margin: 0 0 18px; max-width: 68ch; color: var(--on-navy-soft); line-height: 1.8; }
/* Subheadings inside a bio, written as "### Heading" in team.json. */
.team-page .p-sub { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; color: var(--on-navy); margin: 30px 0 10px; line-height: 1.25; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.team-page .cap { font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-400); margin: 0 0 12px; }
.rows { list-style: none; margin: 0 0 28px; padding: 0; }
.rows li { padding: 10px 0; border-bottom: 1px solid var(--hairline); color: var(--on-navy-soft); }
.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.edu { background: var(--navy-800); border: 1px solid var(--hairline); padding: 24px; }
.edu p { margin: 0 0 4px; }
.edu .year { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; color: var(--gold-400); }
.edu .degree { font-family: var(--serif); font-size: 1.5rem; color: var(--on-navy); line-height: 1.2; }
.edu .school { color: var(--on-navy-soft); }
.edu .note { font-size: 0.9rem; color: var(--on-navy-soft); margin-top: 6px; }

/* The firm's one email, at the bottom right of the footer on the team pages. */
.footer-bottom .team-email { color: var(--gold-300); }

@media (max-width: 1000px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .founders { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; gap: 40px; }
  .p-side { position: static; max-width: 360px; }
}
@media (max-width: 760px) {
  .founder-card { grid-template-columns: 1fr; }
  .founder-photo { max-height: 440px; }
  .two-col, .edu-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .adv-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .adv h4 { font-size: 1.25rem; }
}

