:root {
  --brand-blue: #2458b8;
  --brand-orange: #ff5a00;
  --brand-line: #566f6f;
  --text-main: #111111;
  --text-muted: #333333;
  --border-soft: #d9d9d9;
  --border-light: #ececec;
  --footer-black: #151515;
  --surface: #ffffff;
  --container: min(1020px, calc(100vw - 32px));
  --content-width: min(1020px, calc(100vw - 32px));
  --body-font: Arial, Helvetica, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--text-main);
  background: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}

a,
button {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(36, 88, 184, 0.28);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--brand-blue);
  color: #ffffff;
  padding: 10px 14px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.site-header__inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.site-brand img {
  width: 112px;
  height: auto;
}

.primary-nav {
  flex: 1 1 auto;
}

.primary-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.primary-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.98rem;
  padding: 8px 0;
}

.primary-nav__link:hover,
.primary-nav__link.is-active {
  color: var(--brand-blue);
}

.primary-nav__caret {
  font-size: 0.68rem;
  line-height: 1;
}

.page-main {
  padding: 22px 0 0;
}

.page-shell {
  min-height: 62vh;
}

.page-heading {
  margin-bottom: 22px;
}

.page-heading__title {
  margin: 0;
  color: var(--brand-orange);
  font-size: clamp(2rem, 1.35rem + 1.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
}

.page-heading__line {
  margin-top: 2px;
  width: 100%;
  height: 3px;
  background: var(--brand-line);
}

.tabs {
  background: var(--surface);
}

.tab-list {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  overflow-x: auto;
}

.tab-button {
  min-height: 52px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-bottom: none;
  background: #ffffff;
  color: var(--brand-blue);
  font: inherit;
  font-size: 0.96rem;
  cursor: pointer;
  white-space: nowrap;
}

.tab-button:hover {
  color: #173d87;
}

.tab-button.is-active {
  border-color: var(--border-soft);
  position: relative;
  top: 1px;
}

.tab-panel {
  border: 1px solid var(--border-soft);
  padding: 24px;
}

.report-panel {
  display: grid;
  gap: 22px;
}

.report-actions {
  display: flex;
  justify-content: flex-start;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  background: var(--brand-blue);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.download-button:hover {
  background: #1b4692;
}

.report-figure {
  margin: 0;
  display: flex;
  justify-content: center;
}

.report-chart {
  width: min(100%, 460px);
  border: 1px solid var(--border-soft);
  background: #ffffff;
}

.report-summary {
  margin: 0;
  max-width: 880px;
  color: var(--text-main);
  line-height: 1.8;
  text-align: justify;
}

.report-summary a {
  color: var(--brand-blue);
  text-decoration: none;
}

.report-summary a:hover {
  text-decoration: underline;
}

.news-grid,
.board-grid,
.contact-grid {
  display: grid;
  gap: 16px;
}

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

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

.news-card,
.board-card,
.contact-card,
.links-card {
  padding: 18px;
  border: 1px solid var(--border-soft);
  background: #ffffff;
}

.news-card__meta,
.board-card__role,
.contact-card__eyebrow,
.contact-list dt,
.site-footer__copy,
.site-footer__links {
  margin: 0;
  color: var(--text-muted);
}

.news-card__meta,
.board-card__role,
.contact-card__eyebrow,
.contact-list dt {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.news-card__title,
.board-card__name,
.contact-card__title {
  margin: 10px 0 0;
  font-size: 1.2rem;
  line-height: 1.35;
}

.news-card__summary,
.board-card__focus,
.contact-card__body,
.contact-list dd,
.related-links a {
  margin: 10px 0 0;
  line-height: 1.7;
}

.board-card__period {
  margin: 10px 0 0;
  color: var(--brand-blue);
  font-weight: 700;
}

.board-card__role {
  color: var(--brand-orange);
}

.contact-card__title {
  color: var(--text-main);
}

.contact-card__body {
  display: grid;
  gap: 2px;
  font-style: normal;
}

.contact-list {
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}

.contact-list dd {
  margin-top: 4px;
}

.contact-list a,
.related-links a,
.site-footer__links a {
  color: var(--brand-blue);
  text-decoration: none;
}

.contact-list a:hover,
.related-links a:hover,
.site-footer__links a:hover {
  text-decoration: underline;
}

.related-links {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.related-links li + li {
  margin-top: 10px;
}

.related-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border-soft);
}

.site-footer {
  margin-top: 220px;
}

.site-footer__main {
  padding: 76px 0 18px;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.site-footer__logo {
  width: 140px;
  height: auto;
}

.site-footer__faculty,
.site-footer__links-title {
  margin: 0;
  font-size: 0.97rem;
  color: var(--text-main);
}

.site-footer__content {
  max-width: 760px;
  display: grid;
  gap: 8px;
}

.site-footer__links-title {
  margin-top: 24px;
}

.site-footer__bottom {
  background: var(--footer-black);
}

.site-footer__bottom-inner {
  padding: 16px;
  color: #ffffff;
  font-size: 0.94rem;
}

@media (max-width: 960px) {
  .site-header__inner {
    padding-top: 12px;
    padding-bottom: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  .primary-nav {
    width: 100%;
  }

  .primary-nav__list {
    justify-content: flex-start;
  }

  .news-grid,
  .board-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    margin-top: 120px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100vw - 24px, 1020px);
  }

  .site-brand img {
    width: 96px;
  }

  .tab-list {
    gap: 0;
  }

  .tab-button {
    padding: 12px 14px;
  }

  .tab-panel {
    padding: 18px;
  }

  .report-actions {
    justify-content: stretch;
  }

  .download-button {
    width: 100%;
  }

  .site-footer__main {
    padding-top: 60px;
  }

  .site-footer__logo {
    width: 120px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
