:root {
  color-scheme: light;
  --team-bg: #f6f4ee;
  --team-panel: #fffefa;
  --team-ink: #242923;
  --team-muted: #62685f;
  --team-line: #dcded4;
  --team-accent: #526836;
  --team-photo: #e4e8db;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--team-bg); color: var(--team-ink); }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid var(--team-accent); outline-offset: 5px; }
.team-width { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.team-skip { position: absolute; top: -100px; left: 24px; padding: 12px; background: var(--team-panel); z-index: 5; }
.team-skip:focus { top: 12px; }
.team-header { border-bottom: 1px solid var(--team-line); }
.team-header .team-width, .team-footer .team-width { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.team-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 750; letter-spacing: -.035em; text-decoration: none; }
.team-brand img { width: 34px; height: 34px; object-fit: contain; }
.team-header nav, .team-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.team-header nav a, .team-footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: none; }
[aria-current="page"] { font-weight: 750; }
.team-main { padding-block: clamp(60px, 9vw, 112px) 96px; min-height: 70vh; }
.team-eyebrow { margin: 0 0 20px; color: var(--team-accent); font-size: 12px; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; }
.team-main h1 { margin: 0; font-size: clamp(58px, 10vw, 112px); font-weight: 650; line-height: 1; letter-spacing: -.075em; }
.team-intro { margin: 25px 0 52px; color: var(--team-muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.6; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 28px; }
.team-card { overflow: hidden; border: 1px solid var(--team-line); border-radius: 16px; background: var(--team-panel); }
.team-portrait { display: grid; place-items: center; width: 100%; height: auto; aspect-ratio: 1 / 1; background: var(--team-photo); }
img.team-portrait { object-fit: cover; object-position: center 25%; }
.team-initials { color: var(--team-accent); font-size: clamp(64px, 9vw, 100px); font-weight: 500; letter-spacing: -.07em; }
.team-card-copy { padding: 28px; min-height: 180px; }
.team-role { margin: 0 0 12px; color: var(--team-muted); font-size: 14px; line-height: 1.5; }
.team-card h2 { margin: 0; font-size: 28px; font-weight: 650; letter-spacing: -.045em; line-height: 1.2; }
.team-profile { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin-top: 20px; font-size: 14px; font-weight: 650; text-decoration: none; }
.team-profile:hover { text-decoration: underline; }
.team-profile svg { width: 17px; height: 17px; fill: currentColor; }
.team-footer { border-top: 1px solid var(--team-line); color: var(--team-muted); }
.team-footer p { margin: 0; font-size: 13px; }
[data-brand="msheriff"], [data-brand="latlongapi"] { --team-accent: #765b00; --team-photo: #f0e8cd; }
[data-brand="css"], [data-brand="emeraldai"] { --team-bg: #f3f7f5; --team-panel: #fbfdfc; --team-accent: #087652; --team-photo: #dcece4; }
[data-brand="occupation"] { --team-bg: #f8f5f2; --team-accent: #934c3d; --team-photo: #eeded7; }
[data-brand="js"], [data-brand="sendermesh"], [data-brand="goacms"] { color-scheme: dark; --team-bg: #0b1014; --team-panel: #11191f; --team-ink: #f3f4ee; --team-muted: #a5b0b6; --team-line: #2b353c; --team-accent: #78e3ef; --team-photo: #1e3038; }
[data-brand="sendermesh"] { --team-bg: #050806; --team-panel: #0c130e; --team-accent: #a7ef79; --team-photo: #1b2a20; }
[data-brand="goacms"] { --team-bg: #090b10; --team-panel: #12151d; --team-accent: #ff9c7d; --team-photo: #30292a; }
@media (max-width: 600px) {
  .team-width { width: calc(100% - 32px); }
  .team-header .team-width { min-height: 76px; gap: 12px; }
  .team-brand { font-size: 17px; }
  .team-header nav, .team-footer nav { gap: 16px; }
  .team-main { padding-bottom: 60px; }
  .team-intro { margin-bottom: 36px; }
  .team-grid { gap: 24px; }
  .team-footer .team-width { padding-block: 20px; flex-wrap: wrap; }
}
