:root {
  color-scheme: light;
  --paper: #fbf8f1;
  --ink: #211b16;
  --muted: #665f57;
  --line: #d9cfc0;
  --gold: #a66f24;
  --green: #24543f;
  --mint: #dff0d5;
  --white: #fffdf8;
  --shadow: 0 24px 70px rgba(43, 34, 24, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(110deg, rgba(36, 84, 63, .12), transparent 36%),
    radial-gradient(circle at 84% 4%, rgba(166, 111, 36, .16), transparent 30%),
    var(--paper);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 4px;
  background: var(--green);
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

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

.topbar {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

.header-logo {
  display: block;
  width: min(310px, 42vw);
  line-height: 0;
}

.header-logo .mca-logo-svg {
  width: 100%;
  margin: 0;
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: var(--green);
  font-size: .88rem;
}

.top-links a {
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  text-decoration: none;
}

.top-links a:hover,
.top-links a:focus-visible {
  border-color: var(--line);
  background: rgba(255, 253, 248, .72);
}

.hero {
  padding: 38px 0 68px;
}

.review-notice {
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 11px;
  border: 1px solid rgba(166, 111, 36, .45);
  border-radius: 4px;
  background: rgba(255, 253, 248, .78);
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mca-logo-svg {
  display: block;
  width: min(100%, 520px);
  height: auto;
}

.title-panel {
  display: flex;
  min-height: 390px;
  padding: 48px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 253, 248, .72), rgba(255, 253, 248, .9)),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(36, 84, 63, .09) 34px 35px);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  color: var(--green);
  font-size: clamp(3.3rem, 7vw, 6.4rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .95;
}

.title-panel > p:not(.eyebrow) {
  max-width: 430px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.button {
  display: inline-flex;
  min-height: 46px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: var(--green);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.directory {
  padding: 58px 0 72px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 20px;
}

h2 {
  margin-bottom: 0;
  color: var(--green);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
}

.search {
  display: flex;
  width: min(100%, 315px);
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 253, 248, .72);
}

.search:focus-within {
  border-color: var(--gold);
}

.search svg {
  width: 19px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-width: 1.7;
}

.search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

.result-count {
  margin-bottom: 14px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.person-card {
  display: grid;
  min-height: 145px;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, .72);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.person-card:hover {
  transform: translateY(-2px);
  border-color: rgba(166, 111, 36, .55);
  background: var(--white);
}

.person-card.featured {
  background: rgba(223, 240, 213, .48);
}

.initials {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(36, 84, 63, .35);
  border-radius: 50%;
  color: var(--green);
  font-size: 1.05rem;
}

.surname {
  margin-bottom: 3px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.15;
}

.person-info h3 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.15;
}

.profile-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .74rem;
  font-weight: 700;
  text-decoration: none;
}

.profile-link:hover {
  text-decoration: underline;
}

.empty-state {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-align: center;
}

.empty-state button {
  padding: 10px 16px;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: transparent;
  color: var(--green);
  cursor: pointer;
}

footer {
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .88rem;
  line-height: 1.7;
}

footer p {
  margin: 0;
}

@media (max-width: 960px) {
  .title-panel {
    min-height: 330px;
  }
}

@media (max-width: 720px) {
  .topbar,
  .top-links,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar {
    padding: 20px 0;
  }

  .header-logo {
    width: min(330px, 80vw);
  }

  .top-links {
    justify-content: flex-start;
  }

  .search {
    width: 100%;
  }

  .people-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(100% - 24px, 1160px);
  }

  .mca-logo-svg {
    width: min(100%, 360px);
  }

  .title-panel {
    min-height: 0;
    padding: 30px 24px;
  }

  .person-card {
    grid-template-columns: 52px 1fr;
    padding: 22px 18px;
  }

  .initials {
    width: 52px;
    height: 52px;
  }

  .profile-link {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
