@font-face {
  font-family: "ANETIF Aller";
  src: url("../fonts/anetif-aller-web-light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "ANETIF Aller";
  src: url("../fonts/anetif-aller-web-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

.committee-page {
  --committee-wine: #721414;
  --committee-ink: #333;
  --committee-heading-ink: #444;
  width: 100%;
  color: var(--committee-ink);
  background: #fff;
  font-family: "ANETIF Aller", Arial, sans-serif;
}

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

.committee-artboard {
  width: min(100%, 1280px);
  margin: 0 auto;
  background: #fff;
}

.committee-sheet {
  position: relative;
  width: 100%;
  aspect-ratio: 1280 / 1515.04;
  overflow: hidden;
  container-type: inline-size;
  background: #fff;
}

.committee-heading {
  position: absolute;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 1.18cqw;
  height: 6.18%;
  text-align: center;
}

.committee-heading--board {
  top: 0;
}

.committee-heading--commissions {
  top: 41.77%;
}

.committee-heading__rule {
  height: 0.15625cqw;
  flex: 1 1 auto;
  background: var(--committee-wine);
}

.committee-heading h1,
.committee-heading h2 {
  display: flex;
  flex: 0 0 auto;
  align-items: baseline;
  margin: 0;
  color: var(--committee-heading-ink);
  font-size: 3.515625cqw;
  font-weight: 400;
  letter-spacing: 0.075em;
  line-height: 1.2;
  white-space: nowrap;
}

.committee-heading h1 {
  gap: 0.14em;
}

.committee-heading h1 strong {
  color: var(--committee-wine);
  font-weight: 700;
}

.committee-heading--commissions h2 {
  color: var(--committee-heading-ink);
}

.committee-board-grid {
  position: absolute;
  display: grid;
  height: 13.94%;
}

.committee-board-grid--four {
  top: 7.83%;
  left: 7.2%;
  width: 85.2%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 1.984375cqw;
}

.committee-board-grid--three {
  top: 25.1%;
  left: 18.05%;
  width: 63.72%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 2.15cqw;
}

.committee-person-card {
  --committee-card-edge: var(--committee-wine);
  --committee-card-edge-fade: rgb(114 20 20 / 48%);
  --committee-card-bottom: rgb(114 20 20 / 55%);
  position: relative;
  min-width: 0;
  height: 100%;
  border-right: 1px solid rgb(120 120 120 / 18%);
  border-bottom: max(3px, 0.4cqw) solid var(--committee-card-bottom);
  border-left: max(4px, 0.55cqw) solid var(--committee-card-edge);
  background: linear-gradient(
    126deg,
    rgb(244 244 244 / 82%) 0%,
    #fff 39%,
    #f2f2f2 100%
  );
  box-shadow:
    0.39cqw 0.39cqw 0 rgb(233 233 233 / 84%),
    0.63cqw 0.63cqw 0 rgb(248 248 248 / 92%),
    0 0.25cqw 0.85cqw rgb(51 51 51 / 12%);
  text-align: center;
}

.committee-person-card::before,
.committee-commission-card::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: max(3px, 0.4cqw);
  background: linear-gradient(
    90deg,
    var(--committee-card-edge),
    var(--committee-card-edge-fade) 46%,
    transparent 100%
  );
  content: "";
  pointer-events: none;
}

.committee-person-card--gray {
  --committee-card-edge: #8b8b8b;
  --committee-card-edge-fade: rgb(120 120 120 / 46%);
  --committee-card-bottom: rgb(120 120 120 / 62%);
}

.committee-person-card__corner,
.committee-commission-card__corner {
  position: absolute;
  z-index: 1;
  top: -1.14%;
  left: 1.02%;
  width: 17.66%;
  height: 21.22%;
  background: var(--committee-wine);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.committee-person-card__corner--gray {
  background: #999;
}

.committee-person-card__initials {
  position: absolute;
  top: 14.77%;
  left: 50%;
  display: grid;
  width: 30.28%;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--committee-wine);
  color: #fff;
  font-size: 2.1668cqw;
  font-weight: 700;
  line-height: 1;
  transform: translateX(-50%);
}

.committee-person-card__initials--gray {
  background: #999;
}

.committee-person-card__initials--small {
  font-size: 1.875cqw;
}

.committee-person-card__name {
  position: absolute;
  top: 55.96%;
  left: 1%;
  width: 98%;
  margin: 0;
  color: var(--committee-ink);
  font-size: 1.41675cqw;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.22;
  white-space: nowrap;
}

.committee-person-card__role {
  position: absolute;
  top: 70.25%;
  left: 2%;
  width: 96%;
  margin: 0;
  color: var(--committee-wine);
  font-size: 1.1667cqw;
  font-weight: 400;
  letter-spacing: 0.09em;
  line-height: 1.2;
}

.committee-person-card__underline {
  position: absolute;
  top: 86.74%;
  left: 44.32%;
  width: 11.36%;
  height: 0.1875cqw;
  background: var(--committee-wine);
}

.committee-commission-grid {
  position: absolute;
  left: 11.45%;
  display: grid;
  width: 77.1%;
  height: 9.57%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 3.03cqw;
}

.committee-commission-grid--row-one {
  top: 49.84%;
}

.committee-commission-grid--row-two {
  top: 61.14%;
}

.committee-commission-grid--row-three {
  top: 72.76%;
}

.committee-commission-grid--row-four {
  top: 84.18%;
  left: 25.6%;
  width: 50.73%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 3.35cqw;
}

.committee-commission-card {
  --committee-card-edge: #888;
  --committee-card-edge-fade: rgb(112 112 112 / 48%);
  position: relative;
  min-width: 0;
  height: 100%;
  border-right: 1px solid rgb(120 120 120 / 18%);
  border-bottom: max(3px, 0.4cqw) solid rgb(112 112 112 / 55%);
  border-left: max(4px, 0.55cqw) solid var(--committee-card-edge);
  background: linear-gradient(
    126deg,
    rgb(244 244 244 / 82%) 0%,
    #fff 39%,
    #f2f2f2 100%
  );
  box-shadow:
    0.39cqw 0.39cqw 0 rgb(233 233 233 / 84%),
    0.63cqw 0.63cqw 0 rgb(248 248 248 / 92%),
    0 0.35cqw 1cqw rgb(51 51 51 / 12%);
  text-align: center;
}

.committee-commission-card__corner {
  top: -0.9%;
  left: 1.15%;
  width: 17.65%;
  height: 21.2%;
}

.committee-commission-card h3 {
  position: absolute;
  top: 25.95%;
  left: 2%;
  width: 96%;
  margin: 0;
  color: var(--committee-ink);
  font-size: 1.4945cqw;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.22;
  white-space: nowrap;
}

.committee-commission-card p {
  position: absolute;
  top: 44.45%;
  left: 2%;
  display: flex;
  width: 96%;
  flex-direction: column;
  margin: 0;
  color: var(--committee-wine);
  font-size: 1.3077cqw;
  font-weight: 400;
  letter-spacing: 0.075em;
  line-height: 1.2;
}

.committee-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 760px) {
  .committee-artboard {
    padding: 0 16px;
  }

  .committee-sheet {
    display: flex;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    flex-direction: column;
    gap: 24px;
    overflow: visible;
    padding: 24px 0 36px;
  }

  .committee-heading {
    position: relative;
    top: auto;
    left: auto;
    height: auto;
    min-height: 32px;
    gap: 10px;
  }

  .committee-heading__rule {
    height: 2px;
  }

  .committee-heading h1,
  .committee-heading h2 {
    font-size: clamp(20px, 5vw, 32px);
    line-height: 1.1;
  }

  .committee-board-grid,
  .committee-commission-grid {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    column-gap: 14px;
    row-gap: 14px;
  }

  .committee-board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .committee-board-grid--three > .committee-person-card:last-child {
    width: calc(50% - 7px);
    grid-column: 1 / -1;
    justify-self: center;
  }

  .committee-person-card {
    min-height: 190px;
    box-shadow: 0 3px 12px rgb(51 51 51 / 12%);
  }

  .committee-person-card__corner {
    top: 0;
    left: 0;
    width: 38px;
    height: 38px;
  }

  .committee-person-card__initials {
    top: 18px;
    width: 62px;
    font-size: 22px;
  }

  .committee-person-card__initials--small {
    font-size: 20px;
  }

  .committee-person-card__name {
    top: 108px;
    left: 4px;
    width: calc(100% - 8px);
    font-size: 16px;
    white-space: normal;
  }

  .committee-person-card__role {
    top: 136px;
    left: 4px;
    width: calc(100% - 8px);
    font-size: 14px;
  }

  .committee-person-card__underline {
    top: auto;
    bottom: 15px;
    left: 44%;
    width: 12%;
    height: 2px;
  }

  .committee-commission-grid,
  .committee-commission-grid--row-four {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .committee-commission-card {
    min-height: 132px;
    height: auto;
    padding: 36px 10px 16px;
    box-shadow: 0 3px 12px rgb(51 51 51 / 12%);
  }

  .committee-commission-card__corner {
    top: 0;
    left: 0;
    width: 36px;
    height: 24px;
  }

  .committee-commission-card h3,
  .committee-commission-card p {
    position: static;
    width: auto;
  }

  .committee-commission-card h3 {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.2;
    white-space: normal;
  }

  .committee-commission-card p {
    font-size: 14px;
    line-height: 1.2;
  }

  .committee-commission-grid--row-four > .committee-commission-card {
    min-height: 132px;
  }
}

@media (max-width: 440px) {
  .committee-artboard {
    padding: 0 12px;
  }

  .committee-sheet {
    gap: 18px;
    padding-top: 18px;
  }

  .committee-heading {
    gap: 7px;
  }

  .committee-heading h1,
  .committee-heading h2 {
    font-size: clamp(18px, 5.5vw, 24px);
  }

  .committee-board-grid,
  .committee-board-grid--three,
  .committee-commission-grid,
  .committee-commission-grid--row-four {
    grid-template-columns: minmax(0, 1fr);
  }

  .committee-board-grid--three > .committee-person-card:last-child {
    width: 100%;
    grid-column: auto;
  }

  .committee-person-card {
    min-height: 184px;
  }
}