@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/open-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --team-primary: #d31745;
  --team-ink: #171716;
  --team-muted: #626871;
  --team-line: #d5d9dc;
  --team-paper: #fff;
  --team-soft: #f1f2f3;
  --team-height: min(714px, calc(100svh - 28px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color: var(--team-ink);
  background: #eceeef;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #eceeef;
  color: var(--team-ink);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
}

body.is-team-menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

.team-skip {
  position: fixed;
  z-index: 3000;
  top: 8px;
  left: 8px;
  padding: 9px 12px;
  background: #fff;
  color: #111;
  font-weight: 800;
  transform: translateY(-150%);
}

.team-skip:focus {
  transform: none;
}

.team-main {
  min-height: 100svh;
  padding: 14px 0;
}

.team-spread {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(calc(100vw - 20px), 1280px);
  height: var(--team-height);
  margin-inline: auto;
  overflow: hidden;
  background: var(--team-paper);
  box-shadow: 0 18px 40px rgba(22, 22, 22, 0.16), 0 2px 8px rgba(22, 22, 22, 0.1);
}

.team-spread::after {
  content: "";
  position: absolute;
  z-index: 20;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 24px;
  pointer-events: none;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(29, 36, 42, 0.09), rgba(29, 36, 42, 0.03), transparent);
}

.team-cover,
.team-directory {
  min-width: 0;
  min-height: 0;
  height: 100%;
  background: var(--team-paper);
}

.team-cover {
  display: grid;
  grid-template-rows: 86px 34px minmax(0, 1fr) 24px;
  padding: 0 24px 14px;
  overflow: hidden;
}

.team-masthead {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 76px;
  gap: 12px;
  align-items: center;
  padding-top: 10px;
}

.team-masthead__menu {
  display: grid;
  gap: 5px;
  place-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--team-ink);
  cursor: pointer;
}

.team-masthead__menu span {
  width: 24px;
  height: 2px;
  background: currentColor;
}

.team-masthead__brand {
  justify-self: center;
  width: min(100%, 330px);
}

.team-masthead__brand img {
  width: 100%;
  height: auto;
}

.team-masthead__badge {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.team-masthead__badge strong {
  color: var(--team-primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  line-height: 1;
}

.team-masthead__badge span {
  max-width: 62px;
  margin-top: 5px;
  color: #4f5860;
  font-size: 0.53rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.team-edition-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 34px;
  background: #090909;
  color: #fff;
  font-size: 0.67rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.team-edition-bar > * {
  display: grid;
  place-items: center;
  min-width: 0;
  border-right: 1px solid #4e4e4e;
}

.team-edition-bar > :last-child {
  border-right: 0;
}

.team-edition-bar a:hover,
.team-edition-bar a:focus-visible {
  background: var(--team-primary);
}

.team-cover__intro {
  display: grid;
  grid-template-rows: auto auto 2px auto minmax(0, 1fr);
  gap: 10px;
  min-height: 0;
  padding: 26px 0 18px;
}

.team-cover__intro > p:first-child {
  margin: 0;
  color: var(--team-primary);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.team-cover__intro h1 {
  max-width: 9ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.1rem;
  font-weight: 900;
  line-height: 0.88;
}

.team-cover__rule {
  width: 82px;
  background: var(--team-primary);
}

.team-cover__deck {
  max-width: 41ch;
  margin: 0;
  color: #4e555c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.3;
}

.team-cover__photo {
  position: relative;
  min-height: 0;
  margin: 2px 0 0;
  overflow: hidden;
  background: #d9dcde;
}

.team-cover__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, rgba(11, 12, 14, 0.72));
}

.team-cover__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-cover__photo figcaption {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 14px;
  left: 18px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.team-cover__footer {
  align-self: end;
  margin: 0;
  color: #737a81;
  font-size: 0.48rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.team-cover__footer span {
  margin-inline: 5px;
}

.team-directory {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border-left: 1px solid #d5d9dc;
  background: #f7f8f9;
}

.team-directory__header {
  padding: 24px 26px 0;
  border-bottom: 1px solid var(--team-line);
  background: #fff;
}

.team-directory__header > div:first-child > p {
  margin: 0;
  color: var(--team-primary);
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
}

.team-directory__header h2 {
  margin: 4px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.team-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 42px;
}

.team-tabs button {
  position: relative;
  margin: 0;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #606972;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.team-tabs button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: transparent;
}

.team-tabs button.is-active {
  color: var(--team-primary);
}

.team-tabs button.is-active::after {
  background: var(--team-primary);
}

.team-tabs button:focus-visible {
  outline: 2px solid var(--team-primary);
  outline-offset: -4px;
}

.team-directory__scroll {
  min-height: 0;
  overflow-y: auto;
  scrollbar-color: var(--team-primary) #e3e6e8;
  scrollbar-width: thin;
}

.team-directory__scroll::-webkit-scrollbar {
  width: 7px;
}

.team-directory__scroll::-webkit-scrollbar-track {
  background: #e3e6e8;
}

.team-directory__scroll::-webkit-scrollbar-thumb {
  background: var(--team-primary);
}

.team-list {
  display: grid;
  gap: 18px;
  padding: 20px 26px 30px;
}

.team-group {
  display: grid;
  gap: 18px;
}

.team-group[hidden] {
  display: none;
}

.team-card {
  position: relative;
  display: grid;
  grid-template-rows: 145px auto;
  min-height: 254px;
  overflow: hidden;
  border: 1px solid #d1d5d8;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(22, 22, 22, 0.05);
}

.team-card__banner {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #241216;
}

.team-card__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(121, 0, 34, 0.58);
  mix-blend-mode: multiply;
}

.team-card__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__content {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 0 18px 18px;
}

.team-card__avatar {
  z-index: 1;
  align-self: start;
  width: 86px;
  height: 86px;
  margin-top: -38px;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #d7dade;
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__identity {
  min-width: 0;
  padding-top: 14px;
}

.team-card__role {
  margin: 0 0 4px;
  color: var(--team-primary);
  font-size: 0.61rem;
  font-weight: 900;
  text-transform: uppercase;
}

.team-card__name {
  display: flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
}

.team-card__name h3 {
  min-width: 0;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1;
}

.team-card__verified {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--team-primary);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 900;
}

.team-card__specialty {
  margin: 7px 0 0;
  color: #596169;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.25;
}

.team-card__link {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  margin-top: 10px;
  color: var(--team-primary);
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
}

.team-card__link:hover,
.team-card__link:focus-visible {
  color: var(--dss-brand-color-dark, #8f102d);
}

.team-directory__footer {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 24px 20px;
  color: #737a81;
  font-size: 0.5rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.team-directory__footer a {
  color: var(--team-primary);
}

.team-menu-backdrop {
  position: fixed;
  z-index: 1990;
  inset: 0;
  visibility: hidden;
  background: rgba(12, 14, 16, 0.48);
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.team-menu {
  position: fixed;
  z-index: 2000;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(88vw, 340px);
  padding: 22px;
  background: #fff;
  box-shadow: 14px 0 32px rgba(15, 18, 20, 0.2);
  visibility: hidden;
  transform: translateX(-102%);
  transition: transform 200ms ease, visibility 200ms ease;
}

.team-menu > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  gap: 12px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--team-line);
}

.team-menu > header img {
  width: min(100%, 230px);
}

.team-menu > header button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--team-ink);
  font-size: 1.6rem;
  cursor: pointer;
}

.team-menu nav {
  display: grid;
  margin-top: 16px;
}

.team-menu__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-menu nav a {
  padding: 13px 4px;
  border-bottom: 1px solid #e1e4e7;
  font-weight: 800;
}

.team-menu nav a.is-current,
.team-menu__list .current-menu-item > a,
.team-menu__list .current-menu-ancestor > a {
  color: var(--team-primary);
}

.team-page.is-team-menu-open .team-menu-backdrop {
  visibility: visible;
  opacity: 1;
}

.team-page.is-team-menu-open .team-menu {
  visibility: visible;
  transform: translateX(0);
}

@media (max-width: 1299.98px) {
  :root {
    --team-height: auto;
  }

  .team-main {
    min-height: 0;
    padding: 0 0 28px;
  }

  .team-spread {
    display: block;
    width: min(100%, 720px);
    height: auto;
    overflow: visible;
  }

  .team-spread::after {
    display: none;
  }

  .team-cover {
    grid-template-rows: 106px 34px auto;
    height: auto;
    padding-bottom: 0;
    overflow: visible;
  }

  .team-masthead {
    padding-top: 24px;
    padding-bottom: 14px;
  }

  .team-cover__intro {
    display: block;
    padding: 30px 0 24px;
  }

  .team-cover__intro h1 {
    max-width: none;
    margin-top: 7px;
    font-size: 3.25rem;
    line-height: 0.95;
  }

  .team-cover__rule {
    height: 2px;
    margin-top: 14px;
  }

  .team-cover__deck {
    margin-top: 14px;
  }

  .team-cover__photo,
  .team-cover__footer {
    display: none;
  }

  .team-directory {
    height: auto;
    border-left: 0;
  }

  .team-directory__header {
    padding: 0 24px;
  }

  .team-directory__header > div:first-child {
    display: none;
  }

  .team-tabs {
    min-height: 52px;
    border-top: 1px solid var(--team-line);
  }

  .team-tabs button {
    font-size: 0.78rem;
  }

  .team-directory__scroll {
    overflow: visible;
  }

  .team-list {
    gap: 20px;
    padding: 20px 24px 32px;
  }

  .team-card {
    grid-template-rows: 180px auto;
    min-height: 290px;
  }

  .team-card__content {
    grid-template-columns: 102px minmax(0, 1fr);
  }

  .team-card__avatar {
    width: 94px;
    height: 94px;
    margin-top: -43px;
  }

  .team-card__name h3 {
    font-size: 1.65rem;
  }
}

@media (max-width: 599.98px) {
  .team-cover {
    grid-template-rows: 100px 34px auto;
    padding-inline: 16px;
  }

  .team-masthead {
    grid-template-columns: 40px minmax(0, 1fr) 62px;
    gap: 8px;
  }

  .team-masthead__brand {
    width: min(100%, 260px);
  }

  .team-masthead__badge strong {
    font-size: 1.55rem;
  }

  .team-masthead__badge span {
    max-width: 54px;
    font-size: 0.45rem;
  }

  .team-edition-bar {
    font-size: 0.58rem;
  }

  .team-cover__intro {
    padding: 24px 0 20px;
  }

  .team-cover__intro h1 {
    font-size: 2.65rem;
  }

  .team-cover__deck {
    font-size: 0.96rem;
  }

  .team-directory__header {
    padding-inline: 16px;
  }

  .team-list {
    gap: 18px;
    padding: 18px 16px 28px;
  }

  .team-card {
    grid-template-rows: 145px auto;
    min-height: 268px;
  }

  .team-card__content {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 9px;
    padding: 0 13px 16px;
  }

  .team-card__avatar {
    width: 78px;
    height: 78px;
    margin-top: -35px;
  }

  .team-card__identity {
    padding-top: 12px;
  }

  .team-card__name {
    gap: 5px;
  }

  .team-card__name h3 {
    font-size: 1.28rem;
  }

  .team-card__specialty {
    font-size: 0.6rem;
  }

  .team-directory__footer {
    flex-wrap: wrap;
    padding-inline: 16px;
  }
}

@media (max-width: 359.98px) {
  .team-cover__intro h1 {
    font-size: 2.25rem;
  }

  .team-tabs button {
    padding-inline: 5px;
    font-size: 0.7rem;
  }

  .team-card__name h3 {
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .team-menu,
  .team-menu-backdrop {
    transition: none;
  }
}
