.devfest-team-page {
  color-scheme: light;
  --ink: #3f342b;
  --body: #57493c;
  --muted: #6e6256;
  --accent: #76502f;
  --accent-hover: #604027;
  --cream: #fdf8f0;
  --paper: #fffcf7;
  --cream-deep: #f7efe0;
  --tint: #f2e8d7;
  --line: #d9cdb9;
  --focus: #76502f;
  --gold: #f2d797;
  --font-sans: 'Google Sans Text', 'Product Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Google Sans', 'Product Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--cream);
}
.devfest-team-page, .devfest-team-page *, .devfest-team-page *::before, .devfest-team-page *::after { box-sizing: border-box; }
.devfest-team-page :is(h1, h2, h3, p, ul) { margin: 0; }
.devfest-team-page :is(h1, h2, h3) { font-family: var(--font-display); color: var(--ink); }
.devfest-team-page img { display: block; max-width: 100%; }
.devfest-team-page a { color: inherit; text-decoration: none; }
.devfest-team-page a:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.devfest-team-page .wrap { width: min(100%, 72rem); padding-inline: clamp(1rem, 3vw, 1.5rem); margin-inline: auto; }
.devfest-team-page .team-group { scroll-margin-top: 5.75rem; }
.devfest-team-page .team-hero {
  padding-block: clamp(42px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--cream-deep), var(--cream));
}
.devfest-team-page .team-hero h1 {
  color: var(--ink);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.02;
}
.devfest-team-page .team-hero h1 em { color: var(--accent); font-weight: 400; }
.devfest-team-page .team-hero p { max-width: 60ch; margin-top: 18px; color: var(--muted); font-size: 1rem; line-height: 1.75; }

.devfest-team-page .directory { background: var(--paper); }
.devfest-team-page .team-group { padding-block: 2.75rem 3rem; }
.devfest-team-page .team-group + .team-group { border-top: 1px solid var(--line); }
.devfest-team-page .team-group:last-child { padding-bottom: 4.75rem; }
.devfest-team-page .team-group h2 { margin-bottom: 1.375rem; font-size: clamp(1.7rem, 4vw, 2.25rem); line-height: 1.18; font-weight: 700; letter-spacing: -.034em; }
.devfest-team-page .team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; list-style: none; padding: 0; }
.devfest-team-page .team-grid li { min-width: 0; }
.devfest-team-page .profile { height: 100%; display: flex; flex-direction: column; padding: .5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--cream); transition: border-color .17s, box-shadow .17s; }
.devfest-team-page .profile:hover { border-color: #aa8c66; box-shadow: 0 3px 10px rgba(63, 52, 43, .07); }
.devfest-team-page .profile-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 640 / 510;
  overflow: hidden;
  border-radius: .625rem;
  background: #e8cf9f;
}
.devfest-team-page .profile-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.devfest-team-page .initials { display: grid; place-items: center; width: 43%; aspect-ratio: 1; border: 2px solid #fff; border-radius: 50%; font-family: var(--font-display); background: var(--cream); color: var(--accent); font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1; font-weight: 600; }
.devfest-team-page .profile-heading { display: flex; align-items: center; justify-content: space-between; gap: .35rem; padding: .48rem .18rem .15rem .55rem; flex: 1; }
.devfest-team-page .profile-heading h3 { margin-block: .5rem; font-weight: 700; font-size: clamp(1.04rem, 1.55vw, 1.2rem); letter-spacing: -.015em; line-height: 1.22; overflow-wrap: anywhere; }
.devfest-team-page .profile-link { display: grid; flex: none; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; color: var(--accent); }
.devfest-team-page .profile-link svg { grid-area: 1 / 1; }
.devfest-team-page .profile-link::before { content: ''; grid-area: 1 / 1; width: 2.125rem; height: 2.125rem; border-radius: 50%; background: var(--cream-deep); border: 1px solid var(--line); }
.devfest-team-page .profile-link:hover::before { background: var(--tint); border-color: #aa8c66; }

@media (max-width: 1023px) {
  .devfest-team-page .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .devfest-team-page .team-group { padding-block: 2rem 2.25rem; }
  .devfest-team-page .team-group:last-child { padding-bottom: 3rem; }
  .devfest-team-page .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .devfest-team-page .profile { padding: .35rem; border-radius: .8rem; }
  .devfest-team-page .profile-media { border-radius: .5rem; }
  .devfest-team-page .profile-heading { padding: .2rem 0 0 .22rem; }
  .devfest-team-page .profile-heading h3 { font-size: .94rem; }
}
@media (max-width: 385px) {
  .devfest-team-page .profile-heading { flex-wrap: wrap; align-content: flex-start; }
  .devfest-team-page .profile-heading h3 { width: 100%; margin-bottom: 0; }
  .devfest-team-page .profile-link { margin-left: -.32rem; }
}
@media (prefers-reduced-motion: reduce) { .devfest-team-page .profile { transition: none; } }
